bundles/apt: auto reboot after upgrade if needed
This commit is contained in:
parent
9bc4b4c149
commit
2e92f9851a
2 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,7 @@ Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
|
||||||
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
|
Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
|
||||||
Unattended-Upgrade::Remove-Unused-Dependencies "true";
|
Unattended-Upgrade::Remove-Unused-Dependencies "true";
|
||||||
|
|
||||||
% if data.get('reboot', False):
|
% if data.get('reboot', True):
|
||||||
Unattended-Upgrade::Automatic-Reboot "true";
|
Unattended-Upgrade::Automatic-Reboot "true";
|
||||||
% else:
|
% else:
|
||||||
Unattended-Upgrade::Automatic-Reboot "false";
|
Unattended-Upgrade::Automatic-Reboot "false";
|
||||||
|
|
|
@ -36,6 +36,7 @@ nodes['htz.ex42-1048908'] = {
|
||||||
'site=apt.miniflux.app',
|
'site=apt.miniflux.app',
|
||||||
'o=grafana stable,a=stable,n=stable,l=grafana stable,c=main',
|
'o=grafana stable,a=stable,n=stable,l=grafana stable,c=main',
|
||||||
},
|
},
|
||||||
|
'reboot': False,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'letsencrypt': {
|
'letsencrypt': {
|
||||||
|
|
Loading…
Reference in a new issue