]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
fix cloning/restoring of cloudinit disks in raw format
authorMira Limbeck <m.limbeck@proxmox.com>
Wed, 2 Dec 2020 12:50:25 +0000 (13:50 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 15 Dec 2020 15:17:32 +0000 (16:17 +0100)
commitc997e24af52e8199abf61825502bef6a8577bd6b
treeaba98704db305d41c1381743e06c85d6a73c5e7c
parenteabd73492afb302429edcb4651a275972066a80b
fix cloning/restoring of cloudinit disks in raw format

We only added the format extension when it was not 'raw'. But on file level
storages we always require it. To fix this, always add the format
extension if the storage provides the 'path' property.
This is the same logic we use in create_disks for cloudinit disks.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
PVE/QemuServer.pm