--- Begin Message ---
When using the POST endpoint at /node/<nodeid>/storage/<storageid>/content
a filename can be specified that will be used for the created image.
If said image is then moved from one vm to another vm, the target disk-image
has an automatically generated filename with the vm-<id>-disk-<nr> schema.

This patch adds the optional target-filename parameter to the reassignment
action at the qemu/move_disk endpoint, which allows to specify a custom
target filename for the disk image at the vm it's reassigned to.

Note: At the moment, this throws a parameter validation error when the
target-filename parameter is specified for the move (storage->other storage)
action of the move_disk endpoint.

Markus Ebner (1):
  fix #5033: api: Add target-filename option to move_disk reassign

 PVE/API2/Qemu.pm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

-- 
2.42.0



--- End Message ---
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to