diff --git a/config/20auto-upgrades b/config/20auto-upgrades new file mode 100644 index 0000000..7587020 --- /dev/null +++ b/config/20auto-upgrades @@ -0,0 +1,4 @@ +APT::Periodic::Update-Package-Lists "1"; +APT::Periodic::Download-Upgradeable-Packages "1"; +APT::Periodic::AutocleanInterval "7"; +APT::Periodic::Unattended-Upgrade "1"; \ No newline at end of file diff --git a/config/50unattended-upgrades b/config/50unattended-upgrades new file mode 100644 index 0000000..bcc6af6 --- /dev/null +++ b/config/50unattended-upgrades @@ -0,0 +1,25 @@ +APT::Periodic::Update-Package-Lists "1"; +APT::Periodic::Download-Upgradeable-Packages "1"; +APT::Periodic::AutocleanInterval "7"; +APT::Periodic::Unattended-Upgrade "1"; +Unattended-Upgrade::Mail "root"; + +// Automatically upgrade packages from these +Unattended-Upgrade::Origins-Pattern { + "o=Debian,a=stable"; + "o=Debian,a=stable-updates"; + "o=Debian,a=proposed-updates"; + "origin=Debian,codename=${distro_codename},label=Debian-Security"; +}; + +// You can specify your own packages to NOT automatically upgrade here +Unattended-Upgrade::Package-Blacklist { +// "vim"; +// "libc6"; +// "libc6-dev"; +// "libc6-i686"; + +}; + +Unattended-Upgrade::MailOnlyOnError "false"; +Unattended-Upgrade::Automatic-Reboot "false"; \ No newline at end of file