From 98d4b1ca23290e52b19e035f2fbc926c8223c33e Mon Sep 17 00:00:00 2001 From: euanmillar Date: Tue, 20 Feb 2024 11:57:27 +0000 Subject: [PATCH] Add remove unused kernels options --- infrastructure/server-setup/tasks/updates.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infrastructure/server-setup/tasks/updates.yml b/infrastructure/server-setup/tasks/updates.yml index 098149e63..2317bbde1 100644 --- a/infrastructure/server-setup/tasks/updates.yml +++ b/infrastructure/server-setup/tasks/updates.yml @@ -25,6 +25,9 @@ content: | Unattended-Upgrade::Package-Blacklist {}; Unattended-Upgrade::DevRelease "auto"; + Unattended-Upgrade::Remove-Unused-Kernel-Packages "true"; + Unattended-Upgrade::Remove-New-Unused-Dependencies "true"; + Unattended-Upgrade::Remove-Unused-Dependencies "true"; Unattended-Upgrade::Allowed-Origins { "${distro_id}:${distro_codename}-security"; };