add playbook for unattended upgrade

This commit is contained in:
2026-03-20 00:23:40 +01:00
parent 469fa6a859
commit 3faddac3cf
2 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
// Automaticaly reboot after upgrade
Unattended-Upgrade::Auto-Reboot "true";
// Reboot even with logged in users
Unattended-Upgrade::Automatic-Reboot-WithUsers "true";
// Remove dependencies that become useless after upgrade
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
// Remove unused dependencies after upgrade
Unattended-Upgrade::Remove-Unused-Dependencies "true";
// Enable logging to syslog
Unattended-Upgrade::SyslogEnable "true";