Last active
January 14, 2023 04:29
-
-
Save kuzetsa/4a64cd1a95260d0bc5cc1b8aeaba1878 to your computer and use it in GitHub Desktop.
this configuration is what I'm using for OpenVZ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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
[quote / @RenatoExpert]
[response]
it's right in the documentation:
or from the cli command:
$ man ntp.conf