diff options
author | Martin Schwenke <martin@meltin.net> | 2014-06-18 12:28:31 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2014-06-25 20:46:16 +1000 |
commit | 91781e5260aa76f7e2aea53098f6ddacf2a8d095 (patch) | |
tree | 8610bd3fc3bdf3b360ab2da2f331535085089ebd /base | |
parent | 96d0c28116f4dda10433c881ffa355c349a42bbe (diff) | |
download | autocluster-91781e5260aa76f7e2aea53098f6ddacf2a8d095.tar.gz autocluster-91781e5260aa76f7e2aea53098f6ddacf2a8d095.tar.xz autocluster-91781e5260aa76f7e2aea53098f6ddacf2a8d095.zip |
Add chrony.conf for RHEL 7.0
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'base')
-rw-r--r-- | base/all/etc/chrony.conf | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/base/all/etc/chrony.conf b/base/all/etc/chrony.conf new file mode 100644 index 0000000..b7eb8ac --- /dev/null +++ b/base/all/etc/chrony.conf @@ -0,0 +1,41 @@ +server @@KVMHOST@@ iburst + +# Ignore stratum in source selection. +stratumweight 0 + +# Record the rate at which the system clock gains/losses time. +driftfile /var/lib/chrony/drift + +# Enable kernel RTC synchronization. +rtcsync + +# In first three updates step the system clock instead of slew +# if the adjustment is larger than 10 seconds. +makestep 10 3 + +# Allow NTP client access from local network. +#allow 192.168/16 + +# Listen for commands only on localhost. +bindcmdaddress 127.0.0.1 +bindcmdaddress ::1 + +# Serve time even if not synchronized to any NTP server. +#local stratum 10 + +keyfile /etc/chrony.keys + +# Specify the key used as password for chronyc. +commandkey 1 + +# Generate command key if missing. +generatecommandkey + +# Disable logging of client accesses. +noclientlog + +# Send a message to syslog if a clock adjustment is larger than 0.5 seconds. +logchange 0.5 + +logdir /var/log/chrony +#log measurements statistics tracking |