From 290cf96209ed2a2a9be9d7fa5da78639cca84f99 Mon Sep 17 00:00:00 2001 From: hagbard Date: Fri, 8 Mar 2019 15:16:16 -0800 Subject: [ntp] T1280 - reverting added options from that task --- src/conf_mode/ntp.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/conf_mode/ntp.py') diff --git a/src/conf_mode/ntp.py b/src/conf_mode/ntp.py index bdc8e574c..f706d502f 100755 --- a/src/conf_mode/ntp.py +++ b/src/conf_mode/ntp.py @@ -37,7 +37,7 @@ config_tmpl = """ # driftfile /var/lib/ntp/ntp.drift # By default, only allow ntpd to query time sources, ignore any incoming requests -restrict default noquery nopeer notrap nomodify noquery notrust +restrict default noquery nopeer notrap nomodify # Local users have unrestricted access, allowing reconfiguration via ntpdc restrict 127.0.0.1 restrict -6 ::1 @@ -50,9 +50,6 @@ restrict -6 ::1 {% for s in servers -%} # Server configuration for: {{ s.name }} server {{ s.name }} iburst {{ s.options | join(" ") }} -# allow server sync -restrict {{ s.name }} nomodify notrap - {% endfor -%} {% endif %} -- cgit v1.2.3