added bridge creation to run-qemu.sh

This commit is contained in:
Resneptacle 2025-03-29 04:11:07 -04:00
parent 496346aead
commit bad3814d0f

View File

@ -2,6 +2,10 @@
# Run QEMU emulating a 486, booting from a floppy specified as first parameter # Run QEMU emulating a 486, booting from a floppy specified as first parameter
set -e set -e
if [ ! -e "/sys/class/net/vmbr-lan" ]; then
ip link add vmbr-lan type bridge
fi
qemu-system-i386 \ qemu-system-i386 \
-m 16m \ -m 16m \
-fda "${1}" \ -fda "${1}" \