dotfiles/scripts/qemu/kubuntu-1704
2017-06-17 18:35:23 +02:00

12 lines
421 B
Bash
Executable file

#!/bin/bash
qemu-system-x86_64 -enable-kvm --daemonize \
-cpu host \
-drive format=raw,file="/media/platvoeten/VM/ubuntu-1704.img",if=virtio \
-m 4G \
-name "kubuntu-1704" \
-vga qxl \
-spice port="5930",disable-ticketing \
-device virtio-serial \
-chardev spicevmc,id=vdagent,name=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 &&
exec spicy --title "kubuntu-1704" 127.0.0.1 -p "5930"