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

fix tm/qcow2/ln fix clean before attach (#124)

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:45:25 +03:00 committed by Ruben S. Montero
parent 2b2f4e40a6
commit e99352f5d9

View File

@ -111,7 +111,7 @@ fi
ln -sf "$SNAP_DIR/\$SNAP" "$DST_PATH"
$RM -f "${DST_PATH}.snap"
$RM -rf "${DST_PATH}.snap"
ln -sf "$SNAP_DIR" "${DST_PATH}.snap"
EOT
)