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. --- layers/switch.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layers/switch.nix') diff --git a/layers/switch.nix b/layers/switch.nix index c1c5155..458026f 100644 --- a/layers/switch.nix +++ b/layers/switch.nix @@ -5,9 +5,9 @@ # script, whose images have the new system. Needs layers/nix.nix (the # guest sees the host's store, where the new system gets built). Small, # so better imported by another layer: -# imports = [ /path/to/firecracker/layers/switch.nix ]; +# imports = [ /path/to/rigs/layers/switch.nix ]; # Then, on the host, with the same arguments as the running guest's build: -# sys=$(nix-build --no-out-link pkgs/run-firecracker-vm -A toplevel ...) +# sys=$(nix-build --no-out-link pkgs/run-rig -A toplevel ...) # ssh root@VM $sys/bin/switch-to-configuration test # A store path that the guest looked for before the host had it stays # missing in the guest's store (the overlay remembers), until the guest -- cgit v1.3.1