We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a07db20 commit 50009d3Copy full SHA for 50009d3
files/image_config/ntp/ntp.conf.j2
@@ -29,9 +29,13 @@ server {{ ntp_server }} iburst
29
30
#only listen on localhost and eth0 ips (default is to listen on all ip addresses)
31
interface ignore wildcard
32
+{% if MGMT_INTERFACE %}
33
{% for (mgmt_intf, mgmt_prefix) in MGMT_INTERFACE %}
34
interface listen {{ mgmt_prefix | ip }}
35
{% endfor %}
36
+{% else %}
37
+interface listen eth0
38
+{% endif %}
39
interface listen 127.0.0.1
40
41
# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
0 commit comments