1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-18 02:50:09 +03:00

feature #575: Image drivers now uses scripts_common

This commit is contained in:
Ruben S. Montero 2011-04-14 19:46:15 +02:00
parent 993a42bed8
commit bea18b1100
4 changed files with 12 additions and 18 deletions

View File

@ -24,14 +24,12 @@
# ------------ Set up the environment to source common tools ------------
if [ -z "${ONE_LOCATION}" ]; then
TMCOMMON=/usr/lib/one/mads/tm_common.sh
VAR_LOCATION=/var/lib/one/
LIB_LOCATION=/usr/lib/one
else
TMCOMMON=$ONE_LOCATION/lib/mads/tm_common.sh
VAR_LOCATION=$ONE_LOCATION/var/
LIB_LOCATION=$ONE_LOCATION/lib
fi
. $TMCOMMON
. $LIB_LOCATION/sh/scripts_common.sh
# ------------ Copy the image to the repository ------------

View File

@ -24,12 +24,12 @@
# ------------ Set up the environment to source common tools ------------
if [ -z "${ONE_LOCATION}" ]; then
TMCOMMON=/usr/lib/one/mads/tm_common.sh
LIB_LOCATION=/usr/lib/one
else
TMCOMMON=$ONE_LOCATION/lib/mads/tm_common.sh
LIB_LOCATION=$ONE_LOCATION/lib
fi
. $TMCOMMON
. $LIB_LOCATION/sh/scripts_common.sh
# ------------ Create the image to the repository ------------

View File

@ -24,14 +24,12 @@
# ------------ Set up the environment to source common tools ------------
if [ -z "${ONE_LOCATION}" ]; then
TMCOMMON=/usr/lib/one/mads/tm_common.sh
VAR_LOCATION=/var/lib/one/
LIB_LOCATION=/usr/lib/one
else
TMCOMMON=$ONE_LOCATION/lib/mads/tm_common.sh
VAR_LOCATION=$ONE_LOCATION/var/
LIB_LOCATION=$ONE_LOCATION/lib
fi
. $TMCOMMON
. $LIB_LOCATION/sh/scripts_common.sh
# ------------ Move the image to the repository ------------

View File

@ -23,14 +23,12 @@
# ------------ Set up the environment to source common tools ------------
if [ -z "${ONE_LOCATION}" ]; then
TMCOMMON=/usr/lib/one/mads/tm_common.sh
VAR_LOCATION=/var/lib/one/
LIB_LOCATION=/usr/lib/one
else
TMCOMMON=$ONE_LOCATION/lib/mads/tm_common.sh
VAR_LOCATION=$ONE_LOCATION/var/
LIB_LOCATION=$ONE_LOCATION/lib
fi
. $TMCOMMON
. $LIB_LOCATION/sh/scripts_common.sh
# ------------ Remove the image to the repository ------------