Skip to content

Commit 49ac419

Browse files
committed
#18 programmatically construct configuration from provisioning provider
1 parent 1f1711e commit 49ac419

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

clusters/vc/cfg/vcsvc/rootfs/etc/chrony.conf.server

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Use public servers from the pool.ntp.org project.
2+
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
3+
server 0.centos.pool.ntp.org iburst
4+
server 1.centos.pool.ntp.org iburst
5+
server 2.centos.pool.ntp.org iburst
6+
server 3.centos.pool.ntp.org iburst
7+
8+
# Record the rate at which the system clock gains/losses time.
9+
driftfile /var/lib/chrony/drift
10+
11+
# Allow the system clock to be stepped in the first three updates
12+
# if its offset is larger than 1 second.
13+
makestep 1.0 3
14+
15+
# Enable kernel synchronization of the real-time clock (RTC).
16+
rtcsync
17+
18+
# Enable hardware timestamping on all interfaces that support it.
19+
#hwtimestamp *
20+
21+
# Increase the minimum number of selectable sources required to adjust
22+
# the system clock.
23+
#minsources 2
24+
25+
# Allow NTP client access from local network.
26+
allow 192.168.78.0/24
27+
allow 127.0.0.1
28+
bindaddress 192.168.78.71
29+
30+
# Serve time even if not synchronized to a time source.
31+
#local stratum 10
32+
33+
# Specify file containing keys for NTP authentication.
34+
#keyfile /etc/chrony.keys
35+
36+
# Specify directory for log files.
37+
logdir /var/log/chrony
38+
39+
# Select which information is logged.
40+
#log measurements statistics tracking
41+

0 commit comments

Comments
 (0)