Hi,
had a hard time finding how to mount raw image and convert vmdk images. Just want to share it here
1. qemu-img convert IMAGENAME.VHDX -O qcow2 /var/lib/vz/images/VMID#/vm-100-disk-0.qcow2
sample: qemu-img convert IMAGENAME.VHDX -O qcow2 /var/lib/vz/images/100/vm-100-disk-0.qcow2
2.Config: qm set <vmid> -ide# /dev/sdb
sample: qm set 100 -ide1 /dev/sdb
had a hard time finding how to mount raw image and convert vmdk images. Just want to share it here
1. qemu-img convert IMAGENAME.VHDX -O qcow2 /var/lib/vz/images/VMID#/vm-100-disk-0.qcow2
sample: qemu-img convert IMAGENAME.VHDX -O qcow2 /var/lib/vz/images/100/vm-100-disk-0.qcow2
2.Config: qm set <vmid> -ide# /dev/sdb
sample: qm set 100 -ide1 /dev/sdb