The ESXi configuration files /etc/ntp.conf and /etc/ptp.conf can no longer be edited directly.
It is no longer possible to make changes to NTP, PTP by editing these config files directly. From ESXi 7.0 Update 3, files under /etc are read-only and edits do not persist across reboot.
Use the following esxcli commands to configure NTP, PTP on ESXi. The commands have been modified to read/write to configstore instead of interacting with a stickybit file.
To display current configuration: