diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-03-21 00:15:30 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-03-28 14:11:58 +0200 |
commit | aa0f27abb06ca66a1dc99493ada65e2bbd6000c9 (patch) | |
tree | 9ba9187aaa5cdd641506fcde184c4cb850885f5a /nixos/tests/boot.nix | |
parent | ecbf5ae27a9ee6e877a20e3abce85c21e4bda9c2 (diff) |
treewide: machine -> nodes.machine
Diffstat (limited to 'nixos/tests/boot.nix')
-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 ec2a9f6527c93..8e469a6549728 100644 --- a/nixos/tests/boot.nix +++ b/nixos/tests/boot.nix @@ -42,7 +42,7 @@ let nodes = { }; testScript = '' - machine = create_machine(${machineConfig}) + nodes.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 = '' - machine = create_machine(${machineConfig}) + nodes.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") - machine = create_machine(${machineConfig}) + nodes.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") |