]> git.proxmox.com Git - qemu-server.git/commit
restore: also deactivate/destroy cloud-init disk upon error
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 21 Apr 2022 11:26:52 +0000 (13:26 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 25 Apr 2022 16:19:17 +0000 (18:19 +0200)
commite8b07b29ee3fd6318408db7c4441d266d6434384
treed417d7a0c6e9f5fa1887f03061b360df121bafdb
parentff86112c14a033696f3e5db41531374459772242
restore: also deactivate/destroy cloud-init disk upon error

by re-using the same hash that's used when allocating/activating the
disks in the helpers doing the opposite.

Also in preparation to allow skipping certain disks upon restore.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/QemuServer.pm