zen_ntp/templates/ntp_conf.j2
Chris Hammer 735fb9eb92 0.1.2-DEV-20201009-043714
-------------------------
    * MODIFY:
      - changed default ntp server for the lan
      - updated ntp_conf.j2 template to include the iburst option
2020-10-09 04:38:16 -04:00

29 lines
822 B
Django/Jinja

#####################################################
# The Zen Garden Network #
# #
# Configuration : {{ ntp_conf_file }} #
# Version : {{ ntp_conf_version }}-{{ ntp_conf_revision }} #
# #
# Chris H. <chris@thezengarden.net> #
#####################################################
driftfile /var/lib/ntp/drift
restrict 127.0.0.1
restrict ::1
restrict {{ ntp_network }} mask {{ ntp_netmask }} nomodify notrap
{% if ntp_node_type == "server" %}
{% for server in ntp_servers %}
server {{ server }}
{% endfor %}
{% else %}
server {{ ntp_lan_server }} iburst
{% endif %}
includefile /etc/ntp/crypto/pw
keys /etc/ntp/keys
disable monitor