[pve-devel] applied: [PATCH qemu-server] api: clone: sort vm disks to keep numbers consistent

Thomas Lamprecht t.lamprecht at proxmox.com
Wed May 26 17:36:11 CEST 2021

On 26.05.21 16:19, Lorenz Stechauner wrote:
> reported by user in forum:
> https://forum.proxmox.com/threads/problem-when-copying-template-with-2-discs.89851/
> Signed-off-by: Lorenz Stechauner <l.stechauner at proxmox.com>
> ---
>  PVE/API2/Qemu.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied, thanks!

But note that this sorts drives with different digit-size of the decimal part
also wrong, depnding on POV, e.g., drive1, drive2 and drive10 would sort:


But IMO still lots better that before, especially as they're grouped by bus
type too.

More information about the pve-devel mailing list