diff options
| author | tv <tv@krebsco.de> | 2026-11-25 23:06:46 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-26 00:03:17 +0000 |
| commit | b5edf2b27f18f6576d3bcc00f65f95754aec1317 (patch) | |
| tree | 3fc8423b412a97ce3ee54aeb3cca9ca9cf1277a0 /tests/qemu/firecracker.sh | |
| parent | 23df3da867ec9297f1050dcca14103fddca2153d (diff) | |
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.
Diffstat (limited to 'tests/qemu/firecracker.sh')
| -rw-r--r-- | tests/qemu/firecracker.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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')" |
