Mege with extenal repo
This commit is contained in:
25
scripts/tc/config/50unattended-upgrades
Normal file
25
scripts/tc/config/50unattended-upgrades
Normal file
@@ -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";
|
||||
Reference in New Issue
Block a user