aboutsummaryrefslogtreecommitdiffstats
path: root/layers
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-25 23:02:17 +0000
committertv <tv@krebsco.de>2026-11-26 00:03:17 +0000
commit23df3da867ec9297f1050dcca14103fddca2153d (patch)
tree19e125547d76c5cbd954a11d547e2012de22b104 /layers
parent7205cdf2e4bd7c05ee31d98324732b430dbfc53d (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')
-rw-r--r--layers/console.nix2
-rw-r--r--layers/switch.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/layers/console.nix b/layers/console.nix
index 417b761..135e483 100644
--- a/layers/console.nix
+++ b/layers/console.nix
@@ -3,7 +3,7 @@
# user, or null for a login prompt, which needs a password). Small, so
# better imported by another layer than a layer, with an image, of its
# own:
-# imports = [ /path/to/firecracker/layers/console.nix ];
+# imports = [ /path/to/rigs/layers/console.nix ];
# though that works, too:
# --arg layers '[ layers/console.nix ./my-layer.nix ]'
# Without it, the guest has no console (no getty, no kbd), and the way in
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