Add 'config/50unattended-upgrades'
This commit is contained in:
26
config/50unattended-upgrades
Normal file
26
config/50unattended-upgrades
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
Unattended-Upgrade::Allowed-Origins {
|
||||||
|
// "${distro_id}:${distro_codename}";
|
||||||
|
"${distro_id}:${distro_codename}-security";
|
||||||
|
// Extended Security Maintenance; doesn't necessarily exist for
|
||||||
|
// every release and this system may not have it installed, but if
|
||||||
|
// available, the policy for updates is such that unattended-upgrades
|
||||||
|
// should also install from here by default.
|
||||||
|
// "${distro_id}ESM:${distro_codename}";
|
||||||
|
// "${distro_id}:${distro_codename}-updates";
|
||||||
|
// "${distro_id}:${distro_codename}-proposed";
|
||||||
|
// "${distro_id}:${distro_codename}-backports";
|
||||||
|
};
|
||||||
|
|
||||||
|
Unattended-Upgrade::Remove-Unused-Dependencies "true";
|
||||||
|
//Set to true for automatic reboots after unattended upgrades
|
||||||
|
Unattended-Upgrade::Automatic-Reboot "false";
|
||||||
|
Unattended-Upgrade::Automatic-Reboot-Time "02:00";
|
||||||
|
|
||||||
|
Unattended-Upgrade::Package-Blacklist {
|
||||||
|
"vim";
|
||||||
|
"mysql-server";
|
||||||
|
"mysql-client";
|
||||||
|
"libc6";
|
||||||
|
"libc6-dev";
|
||||||
|
"libc6-i686";
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user