Creating a disk from cli with qm set

Dec 12, 2019
2
0
21
55
I am creating a disk from the cli using this syntax:

qm set 100 -scsi1 mystorage:50


This creates a disk in raw format. Is there a way to create it as a qcow2?

Looked at the doc and found a -format flag for some of the qm commands, but not for qm set.