1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

Bug #4221: disk detach / attach leaves VM in broken state

(cherry picked from commit 06bedfe8f6)
This commit is contained in:
Jaime Melis 2016-01-21 09:56:35 +01:00
parent 6628719c96
commit 9555a98c1e

View File

@ -82,6 +82,8 @@ if [ -z "\${SNAP}" ]; then
fi
ln -sf "$SNAP_DIR/\$SNAP" "$DST_PATH"
$RM -f "${DST_PATH}.snap"
ln -sf "$SNAP_DIR" "${DST_PATH}.snap"
EOT
)