summaryrefslogtreecommitdiff
path: root/templates/chrony.conf.cos.tmpl
diff options
context:
space:
mode:
authorJacob Salmela <me@jacobsalmela.com>2023-05-17 09:53:50 -0500
committerGitHub <noreply@github.com>2023-05-17 09:53:50 -0500
commit1b9c2b57a8dcf924c946d37ff42649b50d41c011 (patch)
tree20fcd678d1a3e3194a68bcf0141c7e6054884ee2 /templates/chrony.conf.cos.tmpl
parent8c1a3ff8024377e2efed51c461c1190c25da9d23 (diff)
downloadcloud-init-git-1b9c2b57a8dcf924c946d37ff42649b50d41c011.tar.gz
Add 'peers' and 'allow' directives in cc_ntp (#3124)
Signed-off-by: Jacob Salmela <jacob.salmela@hpe.com>
Diffstat (limited to 'templates/chrony.conf.cos.tmpl')
-rw-r--r--templates/chrony.conf.cos.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/chrony.conf.cos.tmpl b/templates/chrony.conf.cos.tmpl
index fa115f86..91955cd1 100644
--- a/templates/chrony.conf.cos.tmpl
+++ b/templates/chrony.conf.cos.tmpl
@@ -12,6 +12,12 @@ pool {{pool}} iburst
{% for server in servers -%}
server {{server}} iburst
{% endfor %}
+{% for peer in peers -%}
+peer {{peer}}
+{% endfor %}
+{% for a in allow -%}
+allow {{a}}
+{% endfor %}
# This directive specify the file into which chronyd will store the rate
# information.