diff --git a/devstack/lib/rally b/devstack/lib/rally index c0cde6ee..62f8693c 100644 --- a/devstack/lib/rally +++ b/devstack/lib/rally @@ -21,7 +21,8 @@ set +o xtrace # -------- # Set up default directories -RALLY_DIR=$DEST/rally +DIR=$(dirname ${BASH_SOURCE[0]}) +RALLY_DIR=$(readlink -m $DIR/../..) RALLY_CONF_DIR=${RALLY_CONF_DIR:-/etc/rally} RALLY_CONF_FILE=rally.conf diff --git a/devstack/plugin.sh b/devstack/plugin.sh index a5199f73..25bf755e 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -4,7 +4,8 @@ XTRACE=$(set +o | grep xtrace) set -o xtrace -source $DEST/rally/devstack/lib/rally +DIR=$(dirname ${BASH_SOURCE[0]}) +source $DIR/lib/rally if [[ "$1" == "stack" && "$2" == "install" ]]; then echo_summary "Installing Rally"