summaryrefslogtreecommitdiff
path: root/qemu.sh
blob: 2955c2000ab8f268d5972393c4022a72d9057b4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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 \
     -vga qxl \
     -net nic,vlan=0,model=virtio \
     -net user,tftp=isolinux,bootfile=/pxelinux.0 \
     -rtc base=localtime \
     -cdrom "$img" \
     -hda "${img%.iso}.disk" \
     -boot n