2018-01-29 22:11:23 +01:00
|
|
|
--- /dev/null
|
2018-03-25 19:01:07 +02:00
|
|
|
+++ templates/chrony.conf.sles.tmpl
|
|
|
|
@@ -0,0 +1,24 @@
|
2018-01-29 22:11:23 +01:00
|
|
|
+## template:jinja
|
|
|
|
+# cloud-init generated file
|
|
|
|
+# See chrony.conf(5)
|
|
|
|
+
|
|
|
|
+{% if pools %}# pools
|
|
|
|
+{% endif %}
|
|
|
|
+{% for pool in pools -%}
|
|
|
|
+pool {{pool}} iburst
|
|
|
|
+{% endfor %}
|
|
|
|
+{%- if servers %}# servers
|
|
|
|
+{% endif %}
|
|
|
|
+{% for server in servers -%}
|
|
|
|
+server {{server}} iburst
|
|
|
|
+{% endfor %}
|
|
|
|
+
|
|
|
|
+# Record the rate at which the the system clock gains/losses time
|
|
|
|
+driftfile /var/lib/chrony/drift
|
|
|
|
+
|
|
|
|
+# Allow the system clock to be stepped in the first three updates
|
|
|
|
+# if its offset is larger than 1 second.
|
|
|
|
+makestep 1.0 3
|
|
|
|
+
|
|
|
|
+# Enable kernel synchronization of the real-time clock (RTC).
|
|
|
|
+rtcsync
|
2018-03-25 19:01:07 +02:00
|
|
|
--- /dev/null
|
|
|
|
+++ templates/chrony.conf.opensuse.tmpl
|
|
|
|
@@ -0,0 +1,24 @@
|
|
|
|
+## template:jinja
|
|
|
|
+# cloud-init generated file
|
|
|
|
+# See chrony.conf(5)
|
|
|
|
+
|
|
|
|
+{% if pools %}# pools
|
|
|
|
+{% endif %}
|
|
|
|
+{% for pool in pools -%}
|
|
|
|
+pool {{pool}} iburst
|
|
|
|
+{% endfor %}
|
|
|
|
+{%- if servers %}# servers
|
|
|
|
+{% endif %}
|
|
|
|
+{% for server in servers -%}
|
|
|
|
+server {{server}} iburst
|
|
|
|
+{% endfor %}
|
|
|
|
+
|
|
|
|
+# Record the rate at which the the system clock gains/losses time
|
|
|
|
+driftfile /var/lib/chrony/drift
|
2018-01-29 22:11:23 +01:00
|
|
|
+
|
2018-03-25 19:01:07 +02:00
|
|
|
+# Allow the system clock to be stepped in the first three updates
|
|
|
|
+# if its offset is larger than 1 second.
|
|
|
|
+makestep 1.0 3
|
|
|
|
+
|
|
|
|
+# Enable kernel synchronization of the real-time clock (RTC).
|
|
|
|
+rtcsync
|