I would like to permanently change date on a xen VM running CentOS 5.5
I've set xen/independent_wallclock = 1
in /etc/sysctl.conf
(and /proc/
), but after reboot date is reset. I would like it to be preserved after reboot.
The intention is to test software behaviour on daylight saving time or year change. Sometimes a reboot is needed on such system and date reset would break the environment.
1
means that virtual machine is using independent wallclock. Did you try to sync guest time withntp
?