Every time I sync the time on a CentOS 7 (Scientific Linux 7) server virtualized on VMware ESXi, I arrive the next day to find that the time gets 3 hours forward. I did a cronjob to write the time every 5 miniutes and I noticed that when the time is
22:55, the next time written is
2:00. This is my
/etc/ntp.conf which is supposed to sync with a local NTP server
driftfile /var/lib/ntp/drift restrict default nomodify notrap nopeer noquery restrict localhost restrict -6 ::1 server xx.xx.xx.xx prefer iburst includefile /etc/ntp/crypto/pw keys /etc/ntp/keys disable monitor logfile /var/log/ntp.log
chronyd with only
server directive as above but I get the same behavior.
0.0 0 0.0 0 UTC
The way I sync the time:
timedatectl set-ntp true
The timezone is correct through
timedatectl set-timezone commands.