diff options
author | K900 <me@0upti.me> | 2024-02-26 13:30:43 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2024-02-27 23:15:59 +0300 |
commit | 423098c284063106bf15f669a7d5b0665d35be54 (patch) | |
tree | 786164530f72e8e19af66f5b694516cd9ab4ca25 /nixos/tests/boot.nix | |
parent | 786f391922ed14f8bf4bc4de7ed96dd8fa234829 (diff) |
nixos/lib/test-driver: drop LegacyStartCommand, clean up create_machine API
We can finally do this now that it's no longer used.
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 a1e2fdd9e1cc9..56f72dddf526c 100644 --- a/nixos/tests/boot.nix +++ b/nixos/tests/boot.nix @@ -68,7 +68,7 @@ let nodes = { }; testScript = '' - machine = create_machine({"startCommand": "${startCommand}"}) + machine = create_machine("${startCommand}") 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") @@ -107,7 +107,7 @@ let name = "boot-netboot-" + name; nodes = { }; testScript = '' - machine = create_machine({"startCommand": "${startCommand}"}) + machine = create_machine("${startCommand}") machine.start() machine.wait_for_unit("multi-user.target") machine.shutdown() @@ -159,7 +159,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({"startCommand": "${startCommand}"}) + machine = create_machine("${startCommand}") 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") |