Take the 2-minute tour ×

I have installed CentOS 6.2 in a VM on ESX & whenever I change the time to the appropriate value using date & hwclock command it's getting changed for that session. Once I restart the instance it's again getting reset to the old value of some time in year 2010.

What might be the reason?? I don't have access to ESX currently so I couldn't check what is the time in ESX server. Does the time in ESX server will be the reason for this?? If so is it not possible to change the time in VM alone?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

If the time on the ESX is different from the time you are trying to set and if the VMWare tools are configured to sync the time that will indeed be the reason.

The VMWare KB article on time keeping best practices has all the details you need.

share|improve this answer
Thanks, this fixed the problem. –  pprakash Apr 29 '12 at 16:28

Your Answer


