diff options
-rwxr-xr-x | qemu.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,8 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | |||
3 | # img=debian-live-8.4.0-amd64-gnome-desktop.iso | ||
4 | img=debian-live-8.4.0-amd64-standard.iso | ||
2 | sudo qemu-system-x86_64 -enable-kvm -smp 2 -m 640 -k en-us -net \ | 5 | sudo 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 | ||