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. --- modules/host/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/host') diff --git a/modules/host/default.nix b/modules/host/default.nix index 6e20219..cfb050a 100644 --- a/modules/host/default.nix +++ b/modules/host/default.nix @@ -25,7 +25,7 @@ # whitelist (see egress.lua): # whole domains get passed through to port 443 of that name, as resolved # by the host; domains with path rules get decrypted (with certificates -# from our own CA, which the guests trust, see pkgs/run-firecracker-vm) +# from our own CA, which the guests trust, see pkgs/run-rig) # and only matching requests forwarded. # # Whitelists are per user and named: /var/lib/fc-egress/USER/LIST, changed @@ -121,7 +121,7 @@ vmDir = "/run/fc-egress"; # TAP: the name of the VM's list # List names: no slashes, no dot files. listName = "[A-Za-z0-9_-]+"; - # VM names (run-firecracker-vm --name, also the guest's host name): + # VM names (run-rig --name, also the guest's host name): # /run/fc-egress/TAP.name, for fc-egress. vmName = "[A-Za-z0-9][A-Za-z0-9-]{0,62}"; userNames = lib.attrNames users; @@ -299,7 +299,7 @@ ${lib.concatMapStrings (v: " \"${v.user} ${v.vm}\") vip=${v.ip} vip6=${ }; # Where nginx keeps the CA: ca.key, and ca.pem for the guests (see - # caCert in pkgs/run-firecracker-vm). + # caCert in pkgs/run-rig). stateDir = "/var/lib/fcbr0-egress"; runDir = "/run/fcbr0-egress"; @@ -320,9 +320,9 @@ ${lib.concatMapStrings (v: " \"${v.user} ${v.vm}\") vip=${v.ip} vip6=${ echo " fc-egress use VM LIST" echo " fc-egress log [JOURNALCTL-OPTION...]" echo "LIST is a whitelist's name (default: default); a VM uses the one" - echo " given to run-firecracker-vm --egress (default: its --name," + echo " given to run-rig --egress (default: its --name," echo " or default)" - echo "VM is a running VM's name (run-firecracker-vm --name) or tap;" + echo "VM is a running VM's name (run-rig --name) or tap;" echo " -v VM means the list it uses" echo "RULE is https://DOMAIN (with subdomains, not decrypted)" echo " or https://DOMAIN/PATH (decrypted to check the path: PATH itself," -- cgit v1.3.1