mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
* 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
1 changed files with 3 additions and 0 deletions
|
@ -169,6 +169,9 @@ in
|
|||
|
||||
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.
|
||||
ifconfig eth0 up 10.0.2.15
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue