diff options
Diffstat (limited to 'tests/qemu')
| -rw-r--r-- | tests/qemu/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu/default.nix b/tests/qemu/default.nix index 82c7de6..29ff093 100644 --- a/tests/qemu/default.nix +++ b/tests/qemu/default.nix @@ -2,7 +2,7 @@ # for testing without Firecracker (fast with /dev/kvm, else under TCG). # # nix-build tests/qemu --argstr script 'echo TEST $(nproc); systemctl poweroff' -# ./result/bin/run-firecracker-vm --secret ssh_host_ed25519_key=KEY [OPTION...] | tee log +# ./result/bin/run-rig --secret ssh_host_ed25519_key=KEY [OPTION...] | tee log # # script: a shell script run as root at the end of boot (see debug.nix); # end it with `systemctl poweroff` for the guest to exit, or leave it out @@ -19,7 +19,7 @@ let text = builtins.readFile ./firecracker.sh; }; in -import ../../pkgs/run-firecracker-vm (builtins.removeAttrs args [ "script" "layers" ] // { +import ../../pkgs/run-rig (builtins.removeAttrs args [ "script" "layers" ] // { pkgs = pkgs.extend (_: _: { inherit firecracker; }); layers = layers ++ [ (import ./debug.nix script) ]; }) |
