mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-13 12:58:17 +03:00
Bug #1911: Fix bugs in vmfs ln script for TM
This commit is contained in:
parent
d3e2c0a615
commit
1a7eedf3d3
@ -62,8 +62,8 @@ if [ "$USE_SSH" == "yes" ]; then
|
||||
|
||||
# Let's check if it is a CDROM
|
||||
DISK_ID=$(echo "$DST_PATH" | $AWK -F. '{print $NF}')
|
||||
XPATH="${DRIVER_PATH}/../../datastore/xpath.rb --stdin"
|
||||
DRIVER_PATH=$(dirname $0)
|
||||
XPATH="${DRIVER_PATH}/../../datastore/xpath.rb --stdin"
|
||||
|
||||
unset i XPATH_ELEMENTS
|
||||
|
||||
@ -74,7 +74,7 @@ if [ "$USE_SSH" == "yes" ]; then
|
||||
|
||||
DISK_TYPE="${XPATH_ELEMENTS[0]}"
|
||||
|
||||
if [ "$DISK_TYPE" != "CDROM"]; then
|
||||
if [ "$DISK_TYPE" != "CDROM" ]; then
|
||||
ssh_make_path $DST_HOST $DST_PATH
|
||||
|
||||
log "Link all files in $SRC_PATH to $DST_PATH"
|
||||
|
Loading…
x
Reference in New Issue
Block a user