upgrades: Enable Automatic-Reboot option of unattended-upgrades

Closes #654.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
James Valleroy 2020-05-13 12:08:51 -04:00 committed by Sunil Mohan Adapa
parent 0b5c195e17
commit 7c38dad03d
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -14,3 +14,7 @@ Unattended-Upgrade::Remove-Unused-Dependencies "true";
Unattended-Upgrade::Origins-Pattern {
"o=Debian Backports,a=${distro_codename}-backports,l=Debian Backports";
};
// Automatically reboot *WITHOUT CONFIRMATION* if
// the file /var/run/reboot-required is found after the upgrade
Unattended-Upgrade::Automatic-Reboot "true";