From e0640333d0e9eb872a3abf68a9da1685ab570076 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 17 Nov 2026 02:59:16 +0000 Subject: 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. --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'README.md') 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 -- cgit v1.3.1