From 6249d9d62fb69fa7b214514028ff6d63491c6328 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sat, 14 Nov 2020 10:44:55 +0100 Subject: [PATCH] uau: reboot if needed (e.g. on kernel update) Manually rebooting is tedious and nothing bad happend over the last few years. Also important VMs are still on manual update. --- roles/uau/templates/50unattended-upgrades.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/uau/templates/50unattended-upgrades.j2 b/roles/uau/templates/50unattended-upgrades.j2 index b05e860..f782243 100644 --- a/roles/uau/templates/50unattended-upgrades.j2 +++ b/roles/uau/templates/50unattended-upgrades.j2 @@ -110,7 +110,7 @@ Unattended-Upgrade::Remove-Unused-Dependencies "true"; // Automatically reboot *WITHOUT CONFIRMATION* if // the file /var/run/reboot-required is found after the upgrade -//Unattended-Upgrade::Automatic-Reboot "false"; +Unattended-Upgrade::Automatic-Reboot "true"; // Automatically reboot even if there are users currently logged in // when Unattended-Upgrade::Automatic-Reboot is set to true