Creating VM with enabled SPICE via qm command

rvkasyanov

New Member
Jun 23, 2020
3
0
1
30
Hello!

Could you please give me a hint how which parameter and syntax is responsible for creating a VM with enabled SPICE protocol?
There is a description of qm command with --vga [[type=]<enum>] [,memory=<integer>] Configure the VGA hardware. parameter but I cannot quite understand what is a correct syntax.

qm create 201 --cdrom data:iso/sintezm-server-7.7.191220-x86_64.iso --name testvm--arch x86_64 --boot ncd --virtio0 data:8,format=raw --memory 512 --sockets 1 --vga qxl:memory=32

https://pve.proxmox.com/pve-docs/qm.1.html
 
simply setting --vga qxl should be enough.
 
  • Like
Reactions: rvkasyanov