VM RAM & cores configuration
This commit is contained in:
parent
f00f9babee
commit
00f4e5ca4e
2 changed files with 23 additions and 8 deletions
12
scripts/qemu/debian-test
Executable file
12
scripts/qemu/debian-test
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
qemu-system-x86_64 -enable-kvm --daemonize \
|
||||
-cpu host \
|
||||
-smp 4 \
|
||||
-drive format=raw,file=/media/platvoeten/VM/debian-test.img,if=virtio \
|
||||
-m 4G \
|
||||
-name debian \
|
||||
-vga qxl \
|
||||
-spice port=5911,disable-ticketing \
|
||||
-device virtio-serial \
|
||||
-chardev spicevmc,id=vdagent,name=vdagent \
|
||||
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue