diff options
-rwxr-xr-x | qemu.sh | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 |
4 | img=debian-live-8.4.0-amd64-standard.iso | 4 | img=debian-live-8.4.0-amd64-standard.iso |
5 | 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 \ |
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 | ||