PatrickDLong
Enthusiast
Enthusiast

Anybody know how to REMOVE a line from ntp.conf in ESXi 7.0 U3?  I saw conflicting guidance about which tos maxdist value to use (KB 86255 indicates to use a maxdist of 15 while KB 87488 and 1035833 both indicate a maxdist value of 30)  and I ended up accidentally running the process twice and injecting two lines with different values.  Now my ntp.conf file includes TWO tos maxdist lines as shown:

[root@hostname:~] cat /etc/ntp.conf
# Do not edit this file, config store overwites it
restrict default nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1
driftfile /etc/ntp.drift
server xx.xx.xx.xx
server xx.xx.xx.xx
tos maxdist 15
tos maxdist 30
logconfig +clockstatus +peerstatus +sysstatus +syncstatus

and just FYI, the KB 86255 ending statement " Note: Please note that the "tos maxdist" config will not persist across reboot ." does not appear to be correct.  I have rebooted multiple times and these settings remain in my ntp.conf file after every reboot.

Reply
0 Kudos