From bad3814d0f21c5591289c029af66c414286d7a28 Mon Sep 17 00:00:00 2001 From: Resneptacle Date: Sat, 29 Mar 2025 04:11:07 -0400 Subject: [PATCH] added bridge creation to run-qemu.sh --- run-qemu.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run-qemu.sh b/run-qemu.sh index 05e7001..66de3e9 100644 --- a/run-qemu.sh +++ b/run-qemu.sh @@ -2,6 +2,10 @@ # Run QEMU emulating a 486, booting from a floppy specified as first parameter set -e +if [ ! -e "/sys/class/net/vmbr-lan" ]; then + ip link add vmbr-lan type bridge +fi + qemu-system-i386 \ -m 16m \ -fda "${1}" \