From b5edf2b27f18f6576d3bcc00f65f95754aec1317 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 25 Nov 2026 23:06:46 +0000 Subject: rigs: the host's names, rig-egress, rigbr0, rigtapN, ... The host side loses the fc and firecracker, too: rig-egress (the command, also in the guests, and in log lines; /var/lib/rig-egress for the lists, /run/rig-egress for the VMs' choices of list), rig-proxy (the proxy, its user, /run/rig-proxy, and /var/lib/rig-proxy with the CA), rig-firewall, rig-dnsmasq, /run/rig-hosts, /run/rig-addr, the bridge rigbr0 and taps rigtapN, /etc/rig-taps and /etc/rig-vms, config.rig.vms, the nftables tables rigs and rigs-bridge, and egress.lua's RIG_EGRESS_*. The host's own configuration needs the new names, too: its firewall's trusted interface rigbr0, and config.rig.vms. --- tests/qemu/firecracker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/qemu/firecracker.sh') diff --git a/tests/qemu/firecracker.sh b/tests/qemu/firecracker.sh index 08f766d..fcc217c 100644 --- a/tests/qemu/firecracker.sh +++ b/tests/qemu/firecracker.sh @@ -2,7 +2,7 @@ # run script where there's no Firecracker: boots the same kernel, initrd, # drives, vsock (vhost-device-vsock does the same uds_path_PORT # convention) and network interface (qemu's user networking; guest port 22 -# forwarded to 127.0.0.1:${FC_TEST_SSH_PORT:-2222}) in qemu, with +# forwarded to 127.0.0.1:${RIG_TEST_SSH_PORT:-2222}) in qemu, with # virtio-pci instead of virtio-mmio (see debug.nix). set -efu config=$3 @@ -23,5 +23,5 @@ qemu-system-x86_64 -machine accel=kvm:tcg -nographic -no-reboot \ -initrd "$(get '."boot-source".initrd_path')" -append "$args" \ -chardev socket,id=vs,path="$vhost" -device vhost-user-vsock-pci,chardev=vs \ $(jq -r '.drives[] | "-drive file=\(.path_on_host),if=virtio,format=raw" + (if .is_read_only then ",readonly=on" else "" end)' "$config") \ - -netdev user,id=n,hostfwd=tcp:127.0.0.1:"${FC_TEST_SSH_PORT:-2222}"-:22 \ + -netdev user,id=n,hostfwd=tcp:127.0.0.1:"${RIG_TEST_SSH_PORT:-2222}"-:22 \ -device virtio-net-pci,netdev=n,mac="$(get '."network-interfaces"[0].guest_mac')" -- cgit v1.3.1