diff options
author | Janne Heß <janne@hess.ooo> | 2022-04-03 20:52:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-03 20:52:04 +0200 |
commit | 95a0726449423912ce1407b5f88d3416da70106d (patch) | |
tree | 9392ef65fdde69c5cbfc0dce17553902a4b500aa /nixos/tests | |
parent | c77281417a325ee03f94b466475242eb875397ca (diff) | |
parent | 56b465390449926626d3378e05b8e507061cd828 (diff) |
Merge pull request #167048 from helsinki-systems/fix/test-boot-cdrom
nixos/tests/boot: fix after aa0f27abb06ca66a1dc99493ada65e2bbd6000c9
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/boot.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/boot.nix b/nixos/tests/boot.nix index 8e469a6549728..ec2a9f6527c93 100644 --- a/nixos/tests/boot.nix +++ b/nixos/tests/boot.nix @@ -42,7 +42,7 @@ let nodes = { }; testScript = '' - nodes.machine = create_machine(${machineConfig}) + machine = create_machine(${machineConfig}) machine.start() machine.wait_for_unit("multi-user.target") machine.succeed("nix store verify --no-trust -r --option experimental-features nix-command /run/current-system") @@ -83,7 +83,7 @@ let name = "boot-netboot-" + name; nodes = { }; testScript = '' - nodes.machine = create_machine(${machineConfig}) + machine = create_machine(${machineConfig}) machine.start() machine.wait_for_unit("multi-user.target") machine.shutdown() @@ -138,7 +138,7 @@ in { if os.system("qemu-img create -f qcow2 -F raw -b ${sdImage} ${mutableImage}") != 0: raise RuntimeError("Could not create mutable linked image") - nodes.machine = create_machine(${machineConfig}) + machine = create_machine(${machineConfig}) machine.start() machine.wait_for_unit("multi-user.target") machine.succeed("nix store verify -r --no-trust --option experimental-features nix-command /run/current-system") |