[pve-devel] [PATCH storage/qemu-server/manager v6] implement ova/ovf import for file based storages
Fabian Grünbichler
f.gruenbichler at proxmox.com
Thu Nov 21 13:34:18 CET 2024
> Gilberto Ferreira via pve-devel <pve-devel at lists.proxmox.com> hat am 21.11.2024 13:23 CET geschrieben:
> By the way, let me take the opportunity to ask a question: Are there any
> plans to make this import tool accept other image formats like raw, qcow2,
> vmdk or vhd(x) without OVA format?
> Sometimes, all we have is a VHD file, generated by disk2vhd, for example.
> That would be great.
you can already do that (for raw, vmdk, qcow2) via `import-from=` when creating a VM or updating its config (i.e., "qm create/set XXX [..] --scsi0 target_storage:-1,import-from=volume-to-import-from,other_options" or the corresponding API call - not on the UI yet, but planned at some point ;)). just beware - there are no checks on the input image, so only do this with files from a trusted source (arbitrary paths require root as usual, regular volumes on a PVE storage just require access to that volume). I think for vhd files you should be able to convert those first into one of the "agreeable" formats ;)
More information about the pve-devel
mailing list