summaryrefslogtreecommitdiff
path: root/qemu.sh
blob: abf62b48a9e229a0b238a0ccc06fcc695f5856c8 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

# img=debian-live-8.4.0-amd64-gnome-desktop.iso
img=debian-live-8.4.0-amd64-standard.iso
sudo qemu-system-x86_64 -enable-kvm -smp 2 -m 640 -k en-us -net \
    nic,vlan=0,model=virtio -net tap,vlan=0,ifname=tap0,script=no,downscript=no \
    -vga qxl -rtc base=localtime -cdrom \
    "$img" -hda "${img%.iso}.disk" -boot n