1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

fix deleting qcow2 images (#123)

following this forum thread

https://forum.opennebula.org/t/opennebula-5-0-2-attach-detach-images-datastore-folder-not-cleaned-up/3111
This commit is contained in:
Anton Todorov 2016-10-11 16:41:01 +03:00 committed by Ruben S. Montero
parent 28f97fd224
commit 2b2f4e40a6

View File

@ -48,7 +48,7 @@ delete_file=$(cat <<EOF
[ -e "$DST_PATH" ] || exit 0
times=10
function="rm -rf $DST_PATH"
function="rm -rf $DST_PATH{,.snap}"
count=1