From 668b9418dbf421288103ea5e1aaf2f14a7999daf Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Tue, 16 Jan 2024 22:24:59 +0100 Subject: [PATCH] common: rebase chrony config against current debian default config --- roles/common/templates/chrony.conf.j2 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/roles/common/templates/chrony.conf.j2 b/roles/common/templates/chrony.conf.j2 index 61abf41..8ae4938 100644 --- a/roles/common/templates/chrony.conf.j2 +++ b/roles/common/templates/chrony.conf.j2 @@ -1,6 +1,9 @@ # Welcome to the chrony configuration file. See chrony.conf(5) for more # information about usable directives. +# Include configuration files found in /etc/chrony/conf.d. +confdir /etc/chrony/conf.d + {% for srv in ntp_servers %} server {{ srv }} iburst {% endfor %} @@ -23,6 +26,9 @@ keyfile /etc/chrony/chrony.keys # information. driftfile /var/lib/chrony/chrony.drift +# Save NTS keys and cookies. +ntsdumpdir /var/lib/chrony + # Uncomment the following line to turn logging on. #log tracking measurements statistics @@ -33,7 +39,7 @@ logdir /var/log/chrony maxupdateskew 100.0 # This directive enables kernel synchronisation (every 11 minutes) of the -# real-time clock. Note that it can’t be used along with the 'rtcfile' directive. +# real-time clock. Note that it can't be used along with the 'rtcfile' directive. rtcsync # Step the system clock instead of slewing it if the adjustment is larger than