From 23df3da867ec9297f1050dcca14103fddca2153d Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 25 Nov 2026 23:02:17 +0000 Subject: 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. --- tests/qemu/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/qemu/default.nix') 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) ]; }) -- cgit v1.3.1