mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Bug #1421: remove set_ds_location function
This commit is contained in:
1 parent
5c70e2b0be
commit
5712f56a63
3 files changed
-13
No files matched your search
@@ -38,8 +38,6 @@ fi
|
||||
|
||||
. $TMCOMMON
|
||||
|
||||
set_ds_location
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Set dst path and dir
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
@@ -38,8 +38,6 @@ fi
|
||||
|
||||
. $TMCOMMON
|
||||
|
||||
set_ds_location
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Set dst path and dir
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user