Bug #1421: remove set_ds_location function

This commit is contained in:
Jaime Melis committed 2012-10-02 18:37:49 +02:00
1 parent 5c70e2b0be
commit 5712f56a63
3 files changed
-13

No files matched your search

-2
View File
@@ -38,8 +38,6 @@ fi
. $TMCOMMON
set_ds_location
#-------------------------------------------------------------------------------
# Set dst path and dir
#-------------------------------------------------------------------------------
-2
View File
@@ -38,8 +38,6 @@ fi
. $TMCOMMON
set_ds_location
#-------------------------------------------------------------------------------
# Set dst path and dir
#-------------------------------------------------------------------------------
-9
View File
@@ -53,15 +53,6 @@ function arg_path
fix_dir_slashes "$ARG_PATH"
}
#Return the DATASTORE_LOCATION from OpenNebula configuration
function set_ds_location
{
RMT_DS_DIR=`$GREP '^DATASTORE_LOCATION=' $ONE_LOCAL_VAR/config | cut -d= -f2`
RMT_DS_DIR=`fix_dir_slashes $RMT_DS_DIR`
export RMT_DS_DIR
}
#Return 1 if the first argument is a disk
function is_disk
{