summaryrefslogtreecommitdiff
path: root/qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'qemu.sh')
-rwxr-xr-xqemu.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/qemu.sh b/qemu.sh
index 25b0266..abf62b4 100755
--- a/qemu.sh
+++ b/qemu.sh
@@ -1,6 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2
3# img=debian-live-8.4.0-amd64-gnome-desktop.iso
4img=debian-live-8.4.0-amd64-standard.iso
2sudo qemu-system-x86_64 -enable-kvm -smp 2 -m 640 -k en-us -net \ 5sudo qemu-system-x86_64 -enable-kvm -smp 2 -m 640 -k en-us -net \
3 nic,vlan=0,model=virtio -net tap,vlan=0,ifname=tap0,script=no,downscript=no \ 6 nic,vlan=0,model=virtio -net tap,vlan=0,ifname=tap0,script=no,downscript=no \
4 -vga qxl -rtc base=localtime -cdrom \ 7 -vga qxl -rtc base=localtime -cdrom \
5 debian-live-8.4.0-amd64-gnome-desktop.iso -boot d -hda \ 8 "$img" -hda "${img%.iso}.disk" -boot n
6 debian-live-8.4.0-amd64-gnome-desktop.disk