mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +03:00
Bug #4221: disk detach / attach leaves VM in broken state
(cherry picked from commit 06bedfe8f6
)
This commit is contained in:
parent
6628719c96
commit
9555a98c1e
@ -82,6 +82,8 @@ if [ -z "\${SNAP}" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
ln -sf "$SNAP_DIR/\$SNAP" "$DST_PATH"
|
ln -sf "$SNAP_DIR/\$SNAP" "$DST_PATH"
|
||||||
|
|
||||||
|
$RM -f "${DST_PATH}.snap"
|
||||||
ln -sf "$SNAP_DIR" "${DST_PATH}.snap"
|
ln -sf "$SNAP_DIR" "${DST_PATH}.snap"
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user