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