bundles/systemd: make sure we're using UTC and NTP
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
0025482240
commit
6ba0f6df1d
1 changed files with 8 additions and 0 deletions
|
@ -15,4 +15,12 @@ actions = {
|
|||
'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\'',
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue