summaryrefslogtreecommitdiff
path: root/data/templates/chrony
diff options
context:
space:
mode:
authorLucas Christian <lucas@lucasec.com>2024-08-08 23:30:40 -0700
committerChristian Breunig <christian@breunig.cc>2024-09-21 08:51:28 +0200
commite504e0cac55725e93f21322877bb7d0c4f97c992 (patch)
tree1afa58398bccb29dab7812024f138ec059e03902 /data/templates/chrony
parent46a76acc85e775e87db5a82fea7bd520d7765369 (diff)
downloadvyos-1x-e504e0cac55725e93f21322877bb7d0c4f97c992.tar.gz
vyos-1x-e504e0cac55725e93f21322877bb7d0c4f97c992.zip
T6630: ntp: add "interleave" option
Diffstat (limited to 'data/templates/chrony')
-rw-r--r--data/templates/chrony/chrony.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/chrony/chrony.conf.j2 b/data/templates/chrony/chrony.conf.j2
index e3f078fdc..86c20a4d8 100644
--- a/data/templates/chrony/chrony.conf.j2
+++ b/data/templates/chrony/chrony.conf.j2
@@ -42,7 +42,7 @@ user {{ user }}
{% if config.pool is vyos_defined %}
{% set association = 'pool' %}
{% endif %}
-{{ association }} {{ server | replace('_', '-') }} iburst {{ 'nts' if config.nts is vyos_defined }} {{ 'noselect' if config.noselect is vyos_defined }} {{ 'prefer' if config.prefer is vyos_defined }}
+{{ association }} {{ server | replace('_', '-') }} iburst {{- ' nts' if config.nts is vyos_defined }} {{- ' noselect' if config.noselect is vyos_defined }} {{- ' prefer' if config.prefer is vyos_defined }} {{- ' xleave' if config.interleave is vyos_defined }}
{% endfor %}
{% endif %}