5
0
mirror of git://git.proxmox.com/git/pve-storage.git synced 2025-01-27 14:03:55 +03:00
Christian Ebner a8ec2f0227 fix #585: remove leftover disks/directory after VM creation failed
When trying to create a qcow2 disk image with a size larger than available on the
storage, this will fail.
As qemu-img does not clean up the disk afterwards, it needs to be deleted
explicitly. Further, the vmid folder is cleaned up once it is empty.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-03-05 10:36:51 +01:00
Description
No description provided
2.1 MiB
Languages
Perl 99.2%
Makefile 0.7%