Summary
This article describes the way to convert third-party virtual machines to VHI-compatible format.
Resolution
In the example below the source disk format is VMDK, but this approach works for other formats as well.
The full list of virtual disk formats, supported by qemu-img:
bochs raw qed vvfat sheepdog cloop quorum blkverify dmg tftp ftp qcow host_cdrom ftps http host_floppy vmdk vhdx vpc https ssh file qcow2 parallels null-aio host_device null-co nbd iscsi gluster vdi rbd blkdebug
- Upload an image and convert it with qemu-img convert:
Example:# rsync -avP USER@SERVER:/path/to/IMAGE.vmdk /tmp/
# cd /tmp
# qemu-img convert -f vmdk -O qcow2 IMAGE.vmdk IMAGE.qcow2 - Create new image from converted file:
# vinfra service compute image create IMAGE --file IMAGE.qcow2
- Create vm from image via CLI or UI: Creating virtual machines