summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-25 11:15:57 +0100
committerGitHub <noreply@github.com>2023-03-25 11:15:57 +0100
commit8f1e8d720d63dffa2b5a3413c8827c9ad176f2ac (patch)
tree142bdba1f96eb8a8b254eba3ac9b9d677e9fbe52 /data
parent58b29610221a8f80bea1cfacbd2112f3690fe734 (diff)
parent85ed5feda444604622f08d73ea52e744733315d0 (diff)
downloadvyos-1x-8f1e8d720d63dffa2b5a3413c8827c9ad176f2ac.tar.gz
vyos-1x-8f1e8d720d63dffa2b5a3413c8827c9ad176f2ac.zip
Merge pull request #1913 from indrajitr/chrony-nts
ntp: T5112: Enable support for NTS (Network Time Security) in chrony
Diffstat (limited to 'data')
-rw-r--r--data/templates/chrony/chrony.conf.j23
1 files changed, 2 insertions, 1 deletions
diff --git a/data/templates/chrony/chrony.conf.j2 b/data/templates/chrony/chrony.conf.j2
index 711bbbec7..7a36fe69d 100644
--- a/data/templates/chrony/chrony.conf.j2
+++ b/data/templates/chrony/chrony.conf.j2
@@ -17,6 +17,7 @@ clientloglimit 1048576
driftfile /run/chrony/drift
dumpdir /run/chrony
+ntsdumpdir /run/chrony
pidfile {{ config_file | replace('.conf', '.pid') }}
# Determine when will the next leap second occur and what is the current offset
@@ -31,7 +32,7 @@ user {{ user }}
{% if config.pool is vyos_defined %}
{% set association = 'pool' %}
{% endif %}
-{{ association }} {{ server | replace('_', '-') }} iburst {{ '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 }}
{% endfor %}
{% endif %}