uau: make reboot configurable

This commit is contained in:
Markus 2020-11-15 16:12:44 +01:00
parent c906c8072c
commit 8edc26cc74
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
---
uau_reboot: "true"

View File

@ -110,7 +110,7 @@ Unattended-Upgrade::Remove-Unused-Dependencies "true";
// Automatically reboot *WITHOUT CONFIRMATION* if // Automatically reboot *WITHOUT CONFIRMATION* if
// the file /var/run/reboot-required is found after the upgrade // the file /var/run/reboot-required is found after the upgrade
Unattended-Upgrade::Automatic-Reboot "true"; Unattended-Upgrade::Automatic-Reboot "{{ uau_reboot }}";
// Automatically reboot even if there are users currently logged in // Automatically reboot even if there are users currently logged in
// when Unattended-Upgrade::Automatic-Reboot is set to true // when Unattended-Upgrade::Automatic-Reboot is set to true