1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Feature #1254: load iscsi.conf from all the tm iscsi scripts

This commit is contained in:
Jaime Melis 2012-06-28 17:23:46 +02:00
parent 14f6f1c880
commit 666c0eef53
3 changed files with 7 additions and 0 deletions

View File

@ -40,6 +40,8 @@ DRIVER_PATH=$(dirname $0)
. $TMCOMMON
source ${DRIVER_PATH}/../../datastore/iscsi/iscsi.conf
#-------------------------------------------------------------------------------
# Set src, dst path and dir
#-------------------------------------------------------------------------------

View File

@ -38,6 +38,9 @@ fi
. $TMCOMMON
DRIVER_PATH=$(dirname $0)
source ${DRIVER_PATH}/../../datastore/iscsi/iscsi.conf
#-------------------------------------------------------------------------------
# Set dst path and dir
#-------------------------------------------------------------------------------

View File

@ -40,6 +40,8 @@ DRIVER_PATH=$(dirname $0)
. $TMCOMMON
source ${DRIVER_PATH}/../../datastore/iscsi/iscsi.conf
SRC_HOST=`arg_host $SRC`
NEW_IQN="$DST"