diff --git a/src/tm_mad/qcow2/mvds b/src/tm_mad/qcow2/mvds index f32d9c8f60..9507555ea8 100755 --- a/src/tm_mad/qcow2/mvds +++ b/src/tm_mad/qcow2/mvds @@ -38,8 +38,6 @@ fi . $TMCOMMON -set_ds_location - #------------------------------------------------------------------------------- # Set dst path and dir #------------------------------------------------------------------------------- diff --git a/src/tm_mad/shared/mvds b/src/tm_mad/shared/mvds index 347d6c636e..c7f4fd0ec6 100755 --- a/src/tm_mad/shared/mvds +++ b/src/tm_mad/shared/mvds @@ -38,8 +38,6 @@ fi . $TMCOMMON -set_ds_location - #------------------------------------------------------------------------------- # Set dst path and dir #------------------------------------------------------------------------------- diff --git a/src/tm_mad/tm_common.sh b/src/tm_mad/tm_common.sh index a9a7f5297e..d6052c20c6 100644 --- a/src/tm_mad/tm_common.sh +++ b/src/tm_mad/tm_common.sh @@ -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 {