Skip to content

Instantly share code, notes, and snippets.

@kuzetsa kuzetsa/ntp.conf
Last active Nov 3, 2017

Embed
What would you like to do?
this configuration is what I'm using for OpenVZ
# OpenVZ is cheap, but the clock is disciplined by host
server 127.127.1.0 minpoll 3 maxpoll 3 prefer
fudge 127.127.1.0 stratum 1
# ntp_adjtime: Operation not permitted
disable kernel
rlimit memlock 128
mru maxmem 6912 maxage 32 initalloc 1 initmem 64 incalloc 256 incmem 64
discard average 2 minimum 1
restrict default limited nomodify notrap nopeer noquery
restrict -6 default limited nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.