1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-03 01:17:41 +03:00

B #-: Recreate links in VM folder

This handles relative links
This commit is contained in:
Ruben S. Montero 2023-11-16 18:13:46 +01:00
parent 775c205aee
commit 1887c4d8a1
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -187,7 +187,7 @@ else
continue
fi
ssh_exec_and_log "$DEST_HOST" "[ -L \"$LNAME\" ] || ln -s \"$TARGET\" \"$LNAME\""
ssh_exec_and_log "$DEST_HOST" "cd ${VM_DIR}; [ -L \"$LNAME\" ] || ln -s \"$TARGET\" \"$LNAME\""
"Failed to create symlink $TARGET -> $LNAME on $DEST_HOST"
done