Ask Your Question

Revision history [back]

How the set the clock offset for VMs to localtime


We having the situation where our hypervisors time is in UTC +7. Since the standard clock offset in the xml is utc the linux guest hwclock is off by 7 hours. How to set <clock offset="localtime"> ?

[root@xxx ~]# date; hwclock
Wed Dec 12 11:43:28 +07 2018 Wed 12
Dec 2018 04:43:29 AM +07  -1.003255 seconds