mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-24 21:34:01 +03:00
Force symlink creation in VM disk linkin to avoid failures in some scenarios
(cherry picked from commit 25f33af2e5
)
This commit is contained in:
parent
6a5de1f491
commit
05618fff9c
@ -52,7 +52,7 @@ TARGET_DEV="/dev/$VG_NAME/$LV_NAME"
|
||||
LINK_CMD=$(cat <<EOF
|
||||
set -e
|
||||
mkdir -p $DST_DIR
|
||||
ln -s "$TARGET_DEV" "$DST_PATH"
|
||||
ln -sf "$TARGET_DEV" "$DST_PATH"
|
||||
EOF
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user