bundles/apt: auto reboot after upgrade if needed

This commit is contained in:
Franzi 2020-06-08 10:08:16 +02:00
parent 9bc4b4c149
commit 2e92f9851a
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 2 additions and 1 deletions

View file

@ -20,7 +20,7 @@ Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
Unattended-Upgrade::Remove-Unused-Dependencies "true";
% if data.get('reboot', False):
% if data.get('reboot', True):
Unattended-Upgrade::Automatic-Reboot "true";
% else:
Unattended-Upgrade::Automatic-Reboot "false";

View file

@ -36,6 +36,7 @@ nodes['htz.ex42-1048908'] = {
'site=apt.miniflux.app',
'o=grafana stable,a=stable,n=stable,l=grafana stable,c=main',
},
'reboot': False,
},
},
'letsencrypt': {