How to add NTP Server settings in VMs

First get the NTP server IP addresses from your network admin. Then do the following:

sudo vim /etc/chrony.conf
server iburst prefer #This is required only if you have more than one NTP servers
server iburst
service chronyd restart

Use the below commands to check the ntp service

systemctl status chronyd
#to check chrony sync
chronyc tracking
#check chrony sources
chronyc sources

Contact Our Team

If you still can't find an answer to what you're looking for, or you have a specific question, open a new ticket and we'd be happy to help!

Contact Us