sudo update-grub2 # NOTE: prend en compte /boot/grub/device.map
rule__initramfs_init
}
+rule_apticron_init () {
+ sudo apt-get install --reinstall apticron
+ mk_reg mod=644 own=root:root /etc/default/grub <<-EOF
+ EMAIL="admin@heureux-cyclage.org"
+ # DIFF_ONLY="1"
+ # LISTCHANGES_PROFILE="apticron"
+ # ALL_FQDNS="1"
+ # SYSTEM="foobar.example.com"
+ # IPADDRESSNUM="1"
+ # IPADDRESSES="192.0.2.1 2001:db8:1:2:3::1"
+ # NOTIFY_HOLDS="0"
+ # NOTIFY_NEW="0"
+ # NOTIFY_NO_UPDATES="0"
+ # CUSTOM_SUBJECT=""
+ # CUSTOM_NO_UPDATES_SUBJECT=""
+ # CUSTOM_FROM="root@ateliers.heureux-cyclage.org"
+ EOF
+ sudo service apticron restart
+ }
rule__bin_init () {
mk_lnk "$tool"/vm_hosted /usr/local/sbin/
}