nixos-build-vms: use the driverInteractive attribute instead
This reverts commit aab534b894
& uses the
driverInteractive attribute for the test driver instead.
This has the same effect but removes the extra module in the
nixos-build-vms code.
This commit is contained in:
parent
73635b859d
commit
d4fb7daafd
@ -6,12 +6,7 @@
|
|||||||
let
|
let
|
||||||
nodes = builtins.mapAttrs (vm: module: {
|
nodes = builtins.mapAttrs (vm: module: {
|
||||||
_file = "${networkExpr}@node-${vm}";
|
_file = "${networkExpr}@node-${vm}";
|
||||||
imports = [
|
imports = [ module ];
|
||||||
module
|
|
||||||
({ pkgs, ... }: {
|
|
||||||
virtualisation.qemu.package = pkgs.qemu;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}) (import networkExpr);
|
}) (import networkExpr);
|
||||||
in
|
in
|
||||||
|
|
||||||
@ -20,4 +15,4 @@ with import ../../../../lib/testing-python.nix {
|
|||||||
pkgs = import ../../../../.. { inherit system config; };
|
pkgs = import ../../../../.. { inherit system config; };
|
||||||
};
|
};
|
||||||
|
|
||||||
(makeTest { inherit nodes; testScript = ""; }).driver
|
(makeTest { inherit nodes; testScript = ""; }).driverInteractive
|
||||||
|
Loading…
Reference in New Issue
Block a user