From 6dfddc3d7de0ec10eab5ac1a4c894e1ab48b116e Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 24 Sep 2020 19:15:58 +0200 Subject: IPv6 networking... --- run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run') diff --git a/run b/run index 352d939..8e8f86d 100755 --- a/run +++ b/run @@ -12,7 +12,7 @@ no_ask="${2}" qemu_with_flags() { if [ -z "$network" ]; then network="rtl8139"; fi if [ "$network" != "false" ] && [ "$mode" = "net" ]; then - qemu-system-i386 -cpu max -no-reboot -vga std -rtc base=localtime -m 256M -smp 4 -net nic,model=${network},macaddr=42:42:42:42:42:42 -net bridge,br=br0 "$@" + qemu-system-i386 -cpu max -no-reboot -vga std -rtc base=localtime -m 256M -smp 4 -netdev tap,helper=/usr/lib/qemu/qemu-bridge-helper,id=melvix_net -device $network,netdev=melvix_net,id=melvix_nic "$@" else qemu-system-i386 -cpu max -no-reboot -vga std -rtc base=localtime -m 256M -smp 4 "$@" fi -- cgit v1.2.3