configure ntpsec

This commit is contained in:
f 2022-09-03 15:18:25 -03:00
parent 4ed2b7826a
commit cfa432c4ce
3 changed files with 4 additions and 5 deletions

View file

@ -37,6 +37,7 @@ templates:
- "/etc/sysctl.d/congestion.conf"
- "/etc/sysctl.d/coredump.conf"
- "/etc/docker/daemon.json"
- "/etc/ntp.conf"
services:
- runlevel: "sysinit"
service: "devfs"

View file

@ -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

View file

@ -0,0 +1,3 @@
# https://gist.github.com/jauderho/2ad0d441760fc5ed69d8d4e2d6b35f8d
server time.cloudflare.com nts iburst
driftfile /var/lib/ntp/ntp.drift