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 10.4.253.11 iburst prefer #This is required only if you have more than one NTP servers
server 10.4.253.12 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