bundles/systemd: make sure we're using UTC and NTP
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-13 23:26:13 +01:00
parent 0025482240
commit 6ba0f6df1d
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -15,4 +15,12 @@ actions = {
'file:/etc/hosts', 'file:/etc/hosts',
}, },
}, },
'systemd-timezone': {
'command': 'timedatectl set-timezone UTC',
'unless': 'timedatectl status | grep -Fi \'time zone\' | grep -i \'utc\'',
},
'systemd-enable-ntp': {
'command': 'timedatectl set-ntp true',
'unless': 'timedatectl status | grep -Fi \'ntp service\' | grep -i \'active\'',
},
} }