diff options
author | Jacob Salmela <me@jacobsalmela.com> | 2023-05-17 09:53:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 09:53:50 -0500 |
commit | 1b9c2b57a8dcf924c946d37ff42649b50d41c011 (patch) | |
tree | 20fcd678d1a3e3194a68bcf0141c7e6054884ee2 /templates/chrony.conf.cos.tmpl | |
parent | 8c1a3ff8024377e2efed51c461c1190c25da9d23 (diff) | |
download | cloud-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.tmpl | 6 |
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. |