diff options
| author | tv <tv@krebsco.de> | 2026-11-25 23:02:17 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-26 00:03:17 +0000 |
| commit | 23df3da867ec9297f1050dcca14103fddca2153d (patch) | |
| tree | 19e125547d76c5cbd954a11d547e2012de22b104 /tests/qemu/default.nix | |
| parent | 7205cdf2e4bd7c05ee31d98324732b430dbfc53d (diff) | |
rigs: run-rig, not run-firecracker-vm
The run script starts its VMs in Cloud Hypervisor, too, so it's
pkgs/run-rig, and run-rig (also its lock files), and the examples'
paths are /path/to/rigs.
Diffstat (limited to 'tests/qemu/default.nix')
| -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) ]; }) |
