ossobv / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
0 stars 0 forks source link

runtime: ntp config needs manual change to set the interface #5

Open wdoekes opened 2 weeks ago

wdoekes commented 2 weeks ago

When running SONiC-OS-202405-osso.0-dirty-20241102.171738 we need this:

--- a/ntpsec/ntp.conf
+++ b/ntpsec/ntp.conf
@@ -30,7 +30,7 @@ interface ignore wildcard

-interface listen 10.1.0.1
+interface listen eth0
 interface listen 127.0.0.1

The ntp servers can be set with config ntp add ....

Did not find the right cli invocation for the interface. Might be flushed after boot?