diff options
| author | tv <tv@krebsco.de> | 2026-11-17 02:59:16 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-17 02:59:16 +0000 |
| commit | e0640333d0e9eb872a3abf68a9da1685ab570076 (patch) | |
| tree | 21a779ff77bfcea49a7cea148f9a81900bac3847 /README.md | |
| parent | e0b8ef7a5f907baf7362ee34f24c107238590a8f (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.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |
