configure ntpsec
This commit is contained in:
parent
4ed2b7826a
commit
cfa432c4ce
3 changed files with 4 additions and 5 deletions
|
@ -37,6 +37,7 @@ templates:
|
||||||
- "/etc/sysctl.d/congestion.conf"
|
- "/etc/sysctl.d/congestion.conf"
|
||||||
- "/etc/sysctl.d/coredump.conf"
|
- "/etc/sysctl.d/coredump.conf"
|
||||||
- "/etc/docker/daemon.json"
|
- "/etc/docker/daemon.json"
|
||||||
|
- "/etc/ntp.conf"
|
||||||
services:
|
services:
|
||||||
- runlevel: "sysinit"
|
- runlevel: "sysinit"
|
||||||
service: "devfs"
|
service: "devfs"
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
pool pool.ntp.org
|
|
||||||
driftfile /var/lib/ntp/ntp.drift
|
|
||||||
restrict default kod limited nomodify nopeer noquery
|
|
||||||
restrict 127.0.0.1
|
|
||||||
restrict ::1
|
|
3
templates/etc/ntp.conf.j2
Normal file
3
templates/etc/ntp.conf.j2
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# https://gist.github.com/jauderho/2ad0d441760fc5ed69d8d4e2d6b35f8d
|
||||||
|
server time.cloudflare.com nts iburst
|
||||||
|
driftfile /var/lib/ntp/ntp.drift
|
Loading…
Reference in a new issue