* Don't use the "kvm-clock" clock source because it's unreliable.
When starting multiple VMs, some will have perfectly synchronised clocks, while others will have their clocks run much slower (say, a factor of 5). svn path=/nixos/branches/boot-order/; revision=22195
This commit is contained in:
parent
d837ae4914
commit
156ba2def2
@ -169,6 +169,9 @@ in
|
|||||||
|
|
||||||
boot.initrd.postDeviceCommands =
|
boot.initrd.postDeviceCommands =
|
||||||
''
|
''
|
||||||
|
# Workaround for massive clock drift with the "kvm-clock" clock source.
|
||||||
|
echo hpet > /sys/devices/system/clocksource/clocksource0/current_clocksource
|
||||||
|
|
||||||
# Set up networking. Needed for CIFS mounting.
|
# Set up networking. Needed for CIFS mounting.
|
||||||
ifconfig eth0 up 10.0.2.15
|
ifconfig eth0 up 10.0.2.15
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user