unattended_upgrades: needrestart lists services instead of restarting them, replaces the package blacklist
This commit is contained in:
@@ -19,14 +19,6 @@ Unattended-Upgrade::Allowed-Origins {
|
||||
};
|
||||
{% endif %}
|
||||
|
||||
{% if unattended_upgrades.package_blacklist %}
|
||||
Unattended-Upgrade::Package-Blacklist {
|
||||
{% for pkg in unattended_upgrades.package_blacklist %}
|
||||
"{{ pkg }}";
|
||||
{% endfor %}
|
||||
};
|
||||
{% endif %}
|
||||
|
||||
// No automatic reboot, the owner schedules those.
|
||||
Unattended-Upgrade::Automatic-Reboot "false";
|
||||
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
|
||||
|
||||
Reference in New Issue
Block a user