]> git.proxmox.com Git - pve-container.git/commit
For clone+copy features, make sure a valid format for the target is supported
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 23 Mar 2020 11:18:51 +0000 (12:18 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 27 Mar 2020 07:50:46 +0000 (08:50 +0100)
commit4a954457e01295f6f319e7f968b2db9657f81c6b
tree80a07018575f57202403ee7f0175b15b5efab9d6
parent5bb6ad7a37fbe5d6e4b152589b14b0a1dbde5525
For clone+copy features, make sure a valid format for the target is supported

using the new option valid_target_formats. This is
necessary, because clone_image can result in a qcow2 image
being created (on directory based storages) which is not
valid for LXC.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
src/PVE/API2/LXC.pm
src/PVE/LXC/Config.pm