aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xqemu.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu.sh b/qemu.sh
index a696f2d..b6fc8fa 100755
--- a/qemu.sh
+++ b/qemu.sh
@@ -1,11 +1,11 @@
#!/bin/sh
-image=$1
+image=disk.raw
echo $image
qemu-system-x86_64 -enable-kvm \
-drive format=raw,file=$image,if=virtio \
-device virtio-net,netdev=network0 \
-netdev user,id=network0 \
-m 512M \
- -bios /usr/share/ovmf/x64/OVMF.fd \
+ -bios /usr/share/ovmf/x64/OVMF.4m.fd \
-boot menu=on