Commit 45e15aae authored by Mike Hibler's avatar Mike Hibler
Browse files

Attempt to get initial time correct in PVHVM.

Emulated RTC is in UTC, so remove the /etc/wall_cmos_clock file which
tells FreeBSD that RTC is in local time.
parent 3af4163a
......@@ -1451,6 +1451,14 @@ sub vnodePreConfig($$$$$){
" $vnoderoot/etc/fstab");
goto bad
if ($?);
# In HVM the emulated RTC is UTC.
# Make sure FreeBSD knows that.
if ($vninfo->{'ishvm'}) {
# We have to do what slicefix does when it localizes an image.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment