[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xen xl command set date for hvm



On Mon, 2012-12-31 at 15:20 +0000, skippy V wrote:

> It would be convenient if I could set the date/time of each hvm when I
> launch them with XL.
> Is there a way to do this?

You can add an offset to the emulated RTC time using the rtc_timeoffset
option, which is documented in the xl.cfg(5) man page. It's not quite
setting the date and time but if you know the current time you can come
close.

Most OSes initialise their wallclock time based on the RTC.

You'd want to avoid any sort of network time sync though e.g. NTP or the
Windows equivalent. (does Active Directory do time synchronisation?)
since that might undo the offset.

Ian.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.