aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qemu/firecracker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu/firecracker.sh')
-rw-r--r--tests/qemu/firecracker.sh4
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')"