Skip to content

Commit ee0240b

Browse files
committed
IPA: add chrony.conf with no default NTP pools
This removes unnecessary attempts to contact random NTP servers on the internet.
1 parent c9d3f98 commit ee0240b

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

ironic-images/ipa-debian-bookworm.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
- journal-to-console
77
- package-installs
88
- undercloud-ipa
9+
- install-static
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Include configuration files found in /etc/chrony/conf.d.
2+
confdir /etc/chrony/conf.d
3+
4+
# Do not Use Debian vendor zone.
5+
# This was commented out to make sure that we only use NTP sources
6+
# configured through DHCP.
7+
# pool 2.debian.pool.ntp.org iburst
8+
9+
# Use time sources from DHCP.
10+
sourcedir /run/chrony-dhcp
11+
12+
# Use NTP sources found in /etc/chrony/sources.d.
13+
sourcedir /etc/chrony/sources.d
14+
15+
# This directive specify the location of the file containing ID/key pairs for
16+
# NTP authentication.
17+
keyfile /etc/chrony/chrony.keys
18+
19+
# This directive specify the file into which chronyd will store the rate
20+
# information.
21+
driftfile /var/lib/chrony/chrony.drift
22+
23+
# Save NTS keys and cookies.
24+
ntsdumpdir /var/lib/chrony
25+
26+
# Uncomment the following line to turn logging on.
27+
#log tracking measurements statistics
28+
29+
# Log files location.
30+
logdir /var/log/chrony
31+
32+
# Stop bad estimates upsetting machine clock.
33+
maxupdateskew 100.0
34+
35+
# This directive enables kernel synchronisation (every 11 minutes) of the
36+
# real-time clock. Note that it can't be used along with the 'rtcfile' directive.
37+
rtcsync
38+
39+
# Step the system clock instead of slewing it if the adjustment is larger than
40+
# one second, but only in the first three clock updates.
41+
makestep 1 3

0 commit comments

Comments
 (0)