Am 11/11/2022 um 16:46 schrieb Mira Limbeck:
> If the config doesn't contain the cloud-init disk anymore after the
> rollback, we have to clean it up since otherwise no further disk can be
> attached unless the one still existing on the storage is deleted.
> 
> Signed-off-by: Mira Limbeck <m.limb...@proxmox.com>
> Reviewed-by: Stefan Hanreich <s.hanre...@proxmox.com>
> Tested-by: Stefan Hanreich <s.hanre...@proxmox.com>
> ---
> v3:
>  - rebased on top of master
>  - added R-b/T-b tags from v2
> v2:
>  - chose the add_unused_volume way as @fiona recommended, the
>    implementation is a lot cleaner, but contains a cloudinit regex
> 
>  - removed the 2nd patch for reusing already existing disks when
>    adding a cloudinit disk
> 
>  PVE/QemuConfig.pm | 17 +++++++++++++++--
>  1 file changed, 15 insertions(+), 2 deletions(-)
> 
>

applied, thanks to both of you!


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

Reply via email to