]> git.proxmox.com Git - qemu-server.git/commit
fix #4201: delete cloud-init disk on rollback
authorMira Limbeck <m.limbeck@proxmox.com>
Fri, 11 Nov 2022 15:46:35 +0000 (16:46 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 11 Nov 2022 18:26:16 +0000 (19:26 +0100)
commitf9408af46075cdd29534e31fe5979d83e564322c
tree545594952901b683c65fe4be911deec823d4b0f1
parentd74f424e39f70e2cc9ca9fde0ed762658c723862
fix #4201: delete cloud-init disk on rollback

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@proxmox.com>
Reviewed-by: Stefan Hanreich <s.hanreich@proxmox.com>
Tested-by: Stefan Hanreich <s.hanreich@proxmox.com>
PVE/QemuConfig.pm