qm importdisk from http?

paul20

Member
May 30, 2018
28
1
8
35
I'm looking for a way to import a disk from an HTTP URL without having to downloading it first because I'm limited on space. Is there a way to use wget and qm importdisk using pipes? Or any other way that doesn't require extra space? I've tried wget'ing the file in /var/lib/vz/images/xxx/, but Proxmox doesn't seem to detect the disk.
Thanks
 
I've tried wget'ing the file in /var/lib/vz/images/xxx/, but Proxmox doesn't seem to detect the disk.
this should work, but the target disk needs to have the correct naming scheme:

<storage-directory/images/<VMID>/vm-<VMID>-disk-<NUM>.<raw/qcow2/vmdk>