bundles/apt: handle unattended-upgrades ourselves

This commit is contained in:
Franzi 2020-10-18 15:33:41 +02:00
parent b1992447f0
commit 366374b4e5
Signed by: kunsi
GPG key ID: 12E3D2136B818350
10 changed files with 64 additions and 78 deletions

7
bundles/apt/metadata.py Normal file
View file

@ -0,0 +1,7 @@
defaults = {
'cron': {
'upgrade-and-reboot': '{minute} 1 * * 5 root /usr/local/sbin/upgrade-and-reboot'.format(
minute=node.magic_number % 30,
),
},
}