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 /layers/switch.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 'layers/switch.nix')
| -rw-r--r-- | layers/switch.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
