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:
parent
28f97fd224
commit
2b2f4e40a6
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user