added bridge creation to run-qemu.sh
This commit is contained in:
parent
496346aead
commit
bad3814d0f
@ -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}" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user