Skip to content

Commit

Permalink
fix: Don't use chrony-dhcp sourcedir on EL8 systems
Browse files Browse the repository at this point in the history
On EL8 systems the chrony package uses a helper script which adds
servers from DHCP with the "chronyc add" command. The /run/chrony-dhcp
directive is used on EL9 and later.

Signed-off-by: Miroslav Lichvar <[email protected]>
  • Loading branch information
mlichvar authored and richm committed Jul 1, 2024
1 parent f8542e0 commit a7b5290
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vars/OracleLinux_8.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
timesync_ntp_provider_os_default: chrony
timesync_chrony_dhcp_sourcedir: /run/chrony-dhcp
timesync_chrony_dhcp_sourcedir: ""
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
timesync_chrony_conf_path: "/etc/chrony.conf"
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
2 changes: 1 addition & 1 deletion vars/RedHat_8.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
timesync_ntp_provider_os_default: chrony
timesync_chrony_dhcp_sourcedir: /run/chrony-dhcp
timesync_chrony_dhcp_sourcedir: ""
timesync_chrony_sysconfig_path: /etc/sysconfig/chronyd
timesync_chrony_conf_path: "/etc/chrony.conf"
timesync_ntp_sysconfig_path: /etc/sysconfig/ntpd
Expand Down

0 comments on commit a7b5290

Please sign in to comment.