aboutsummaryrefslogtreecommitdiff
path: root/qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'qemu.sh')
-rwxr-xr-xqemu.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu.sh b/qemu.sh
index 559313a..a696f2d 100755
--- a/qemu.sh
+++ b/qemu.sh
@@ -4,7 +4,8 @@ image=$1
echo $image
qemu-system-x86_64 -enable-kvm \
-drive format=raw,file=$image,if=virtio \
- -net none \
+ -device virtio-net,netdev=network0 \
+ -netdev user,id=network0 \
-m 512M \
-bios /usr/share/ovmf/x64/OVMF.fd \
-boot menu=on