summaryrefslogtreecommitdiff
path: root/templates/ntp.conf.alpine.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/ntp.conf.alpine.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/ntp.conf.alpine.tmpl')
-rw-r--r--templates/ntp.conf.alpine.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/ntp.conf.alpine.tmpl b/templates/ntp.conf.alpine.tmpl
index 59ca8fc1..eb32e412 100644
--- a/templates/ntp.conf.alpine.tmpl
+++ b/templates/ntp.conf.alpine.tmpl
@@ -8,3 +8,6 @@
{% for server in servers -%}
server {{server}}
{% endfor %}
+{% for peer in peers -%}
+peer {{peer}}
+{% endfor %}