Another attempt to fix the installer test

http://hydra.nixos.org/build/9904133
This commit is contained in:
Eelco Dolstra
2014-03-30 16:52:56 +02:00
parent c394d4079d
commit 1c192e1fea
3 changed files with 11 additions and 8 deletions

View File

@@ -5,5 +5,13 @@
{
boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "9p" "9pnet_virtio" ];
boot.kernelModules = [ "virtio_balloon" "virtio_console" ];
boot.initrd.kernelModules = [ "virtio_balloon" "virtio_console" ];
boot.initrd.postDeviceCommands =
''
# Set the system time from the hardware clock to work around a
# bug in qemu-kvm > 1.5.2 (where the VM clock is initialised
# to the *boot time* of the host).
hwclock -s
'';
}