diff options
| author | tv <tv@krebsco.de> | 2026-11-17 02:52:46 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-17 02:52:46 +0000 |
| commit | e0b8ef7a5f907baf7362ee34f24c107238590a8f (patch) | |
| tree | bf254e0a6901c79a8398e9d8833e5459c7315e17 /README.md | |
| parent | d6c5c010f3764e2a7bc7c6b654ef7986d704199b (diff) | |
run-firecracker-vm --name
A VM can now have a name: run-firecracker-vm --name NAME. It's unique
among the user's running VMs (a lock in the user's runtime directory,
like the taps'), becomes the guest's host name (systemd.hostname= on the
kernel command line), and goes to /run/fc-egress/TAP.name while the VM
runs, for fc-egress. Names are letters, digits and -, and can't look
like a tap's.
fc-egress takes a running VM's name or tap where it takes a VM:
-v VM works on the list the VM uses, use VM LIST switches it to another
list, and vms shows tap, name and list. The logs keep saying taps
(fc-egress vms maps them).
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -101,16 +101,17 @@ fc-egress lists fc-egress log -f ``` -Each VM uses one list, `default` unless given another: +Each VM uses one list, `default` unless given another, and can have a +name (also its host name; unique among your running VMs): ```sh -./result/bin/run-firecracker-vm --egress work +./result/bin/run-firecracker-vm --egress work --name box +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 ``` -A list that doesn't exist allows nothing. `fc-egress vms` shows the -running VMs' taps (as in the log) and their lists. Which list a running -VM uses is in `/run/fc-egress/TAP`; to switch, write another name there -(`echo default > /run/fc-egress/fctap3`). Changes to lists and switches +A list that doesn't exist allows nothing. Changes to lists and switches apply to the next connection. Whole domains get passed through encrypted. Domains with path rules get decrypted to check each request, with certificates from a CA the host creates on first start |
