Avoid unattended security upgrades from stable if running oldstable
This commit is contained in:
parent
ae4771b452
commit
87bfb868d7
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ Unattended-Upgrade::Allowed-Origins {
|
|||
"${distro_id}:squeeze-lts";
|
||||
<% else -%>
|
||||
Unattended-Upgrade::Origins-Pattern {
|
||||
"o=Debian,l=Debian-Security";
|
||||
"o=Debian,a=${distro_id}-lts";
|
||||
"origin=Debian,archive=<%= scope.lookupvar('::apt::release') %>,label=Debian-Security";
|
||||
"origin=Debian,archive=${distro_codename}-lts";
|
||||
<% end -%>
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue