Starting with ESXI 7.0 Update 3, the /etc/ntp.conf file must not be edited manually when configuring NTP on an ESXi host. Key parameters can be configured through the UI and/or command line.
For more information, see vSphere ESXi 7.0 U3 and later versions configuration files for NTP and PTP can no longer be edited
To configure specific parameters for NTP on ESXi 7.0 U3 and later versions, the ESXi NTP configuration file must be loaded using the esxcli command rather than editing /etc/ntp.conf directly.
Example:
[root@<esxi_host>:~] vi /scratch/ntpconfig.txt
server <ntpserver.yourdomain.com>tos maxdist 30
[root@<esxi_host>:~] cat /scratch/ntpconfig.txt
server ntpserver.yourdomain.comtos maxdist 30[root@<esxi_host>:~] esxcli system ntp set -f /scratch/ntpconfig.txt
[root@<esxi_host>:~] esxcli system ntp set -e 1