On 9/27/19 4:22 PM, Mira Limbeck wrote: > When adding a cloudinit disk it does not contain media=cdrom until it is > actually created. This means the check in check_replication fails to > detect cloudinit and it is recognized as normal disk. Then parse_volname > fails because it does not match the vm-$vmid-XYZ format. To fix this we > now check explicitly if the volname matches cloudinit and if so, return > early. > > Additionally 2 small cleanups replacing cloudinit regexes with the > same check for volname matches cloudinit. > > Signed-off-by: Mira Limbeck <m.limb...@proxmox.com> > --- > v2: > - instead of adding additional regexes remove them completely > > PVE/API2/Qemu.pm | 19 ++++++++++--------- > 1 file changed, 10 insertions(+), 9 deletions(-) >
applied, thanks! _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel