Skip to content

Commit

Permalink
Merge pull request #97 from shl1/shl1_add_allow_chronyconf
Browse files Browse the repository at this point in the history
Added {{ ntp_restrict }} to allow lines in chrony.conf.j2 to designat…
  • Loading branch information
geerlingguy authored Mar 9, 2024
2 parents d3134cc + 38265be commit b2ca66f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/chrony.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ rtcsync

# Allow NTP client access from local network.
#allow 192.168.0.0/16
{% for item in ntp_restrict %}
allow {{ item }}
{% endfor %}

# Serve time even if not synchronized to a time source.
#local stratum 10
Expand Down

0 comments on commit b2ca66f

Please sign in to comment.