dotfiles/scripts/qemu/ubuntu-desktop
2017-06-17 18:35:23 +02:00

12 lines
400 B
Bash
Executable file

#!/bin/bash
qemu-system-x86_64 -enable-kvm --daemonize \
-cpu host \
-drive format=raw,file="/media/platvoeten/VM/ubuntu/ubuntu-desktop.img",if=virtio \
-name "ubuntu-desktop" \
-vga qxl \
-redir tcp:5560::22 \
-m 3G \
-spice port="5929",disable-ticketing \
-device virtio-serial \
-chardev spicevmc,id=vdagent,name=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0