aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-17 02:59:16 +0000
committertv <tv@krebsco.de>2026-11-17 02:59:16 +0000
commite0640333d0e9eb872a3abf68a9da1685ab570076 (patch)
tree21a779ff77bfcea49a7cea148f9a81900bac3847 /README.md
parente0b8ef7a5f907baf7362ee34f24c107238590a8f (diff)
run-firecracker-vm: --egress defaults to the VM's name
A named VM uses the list of the same name unless given another with --egress; without a name, still the list default. A missing list means no egress (with a warning), as before; there's no fallback to default.
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index 667fc4a..4426412 100644
--- a/README.md
+++ b/README.md
@@ -101,11 +101,14 @@ fc-egress lists
fc-egress log -f
```
-Each VM uses one list, `default` unless given another, and can have a
-name (also its host name; unique among your running VMs):
+Each VM can have a name (also its host name; unique among your running
+VMs), and uses one list: the one given with `--egress`, else the one
+named like the VM, else (no name) `default`:
```sh
-./result/bin/run-firecracker-vm --egress work --name box
+fc-egress -l box allow cache.nixos.org
+./result/bin/run-firecracker-vm --name box # list box
+./result/bin/run-firecracker-vm --name box2 --egress box # list box, too
fc-egress vms # running VMs: tap (as in the log), name, list
fc-egress -v box allow example.org # the list box uses
fc-egress use box default # switch box to another list