27 lines
847 B
Text
27 lines
847 B
Text
Unattended-Upgrade::Origins-Pattern {
|
|
"origin=Debian,codename=${node.metadata['os_release']},label=Debian";
|
|
"origin=Debian,codename=${node.metadata['os_release']},label=Debian-Security";
|
|
|
|
// External packages
|
|
% for item in sorted(data.get('origins', set())):
|
|
"${item}";
|
|
% endfor
|
|
};
|
|
|
|
Unattended-Upgrade::AutoFixInterruptedDpkg "true";
|
|
Unattended-Upgrade::MinimalSteps "false";
|
|
|
|
% if data.get('mail', None):
|
|
Unattended-Upgrade::Mail "${data['mail']}";
|
|
Unattended-Upgrade::MailOnlyOnError "false";
|
|
% endif
|
|
|
|
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
|
|
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
|
|
Unattended-Upgrade::Remove-Unused-Dependencies "true";
|
|
|
|
% if data.get('reboot', True):
|
|
Unattended-Upgrade::Automatic-Reboot "true";
|
|
% else:
|
|
Unattended-Upgrade::Automatic-Reboot "false";
|
|
% endif
|