summaryrefslogtreecommitdiff
path: root/qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'qemu.sh')
-rwxr-xr-xqemu.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/qemu.sh b/qemu.sh
index abf62b4..2955c20 100755
--- a/qemu.sh
+++ b/qemu.sh
@@ -2,7 +2,11 @@
2 2
3# img=debian-live-8.4.0-amd64-gnome-desktop.iso 3# img=debian-live-8.4.0-amd64-gnome-desktop.iso
4img=debian-live-8.4.0-amd64-standard.iso 4img=debian-live-8.4.0-amd64-standard.iso
5sudo 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 \
6 nic,vlan=0,model=virtio -net tap,vlan=0,ifname=tap0,script=no,downscript=no \ 6 -vga qxl \
7 -vga qxl -rtc base=localtime -cdrom \ 7 -net nic,vlan=0,model=virtio \
8 "$img" -hda "${img%.iso}.disk" -boot n 8 -net user,tftp=isolinux,bootfile=/pxelinux.0 \
9 -rtc base=localtime \
10 -cdrom "$img" \
11 -hda "${img%.iso}.disk" \
12 -boot n