unattended_upgrades: needrestart lists services instead of restarting them, replaces the package blacklist

This commit is contained in:
2026-11-14 08:00:30 +00:00
parent 704a5d9389
commit f32e6930f5
4 changed files with 17 additions and 15 deletions
@@ -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";