nixosTests.qemu-vm-external-disk-image: fix test
This test uses make-disk-image.nix and uses a bootloader to boot off the resulting disk image, which requires the NixOS config to be switchable.
This commit is contained in:
parent
2f8b38cfb2
commit
73d9963492
@ -25,6 +25,8 @@ let
|
|||||||
"/".device = rootFsDevice;
|
"/".device = rootFsDevice;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
system.switch.enable = true;
|
||||||
|
|
||||||
system.build.diskImage = import ../lib/make-disk-image.nix {
|
system.build.diskImage = import ../lib/make-disk-image.nix {
|
||||||
inherit config lib pkgs;
|
inherit config lib pkgs;
|
||||||
label = rootFslabel;
|
label = rootFslabel;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user