[pve-devel] applied: [PATCH v3 qemu-server] fix #4201: delete cloud-init disk on rollback
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Nov 11 19:27:25 CET 2022
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.limbeck at proxmox.com>
> Reviewed-by: Stefan Hanreich <s.hanreich at proxmox.com>
> Tested-by: Stefan Hanreich <s.hanreich at 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!
More information about the pve-devel
mailing list