13 lines
412 B
Bash
Executable file
13 lines
412 B
Bash
Executable file
#!/bin/bash
|
|
qemu-system-x86_64 -enable-kvm --daemonize \
|
|
-cpu host \
|
|
-smp 4 \
|
|
-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
|