X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=nsb_setup.sh;h=28d31967f0d1cecb687dc17362c3eba3a50888ef;hb=5680931ebfaf31c81c9b1c66049ae4ac46009f43;hp=85bd7b2c431403d7020359e92985862b07aa26b9;hpb=0a24ca320c46c10a50d38b8eab6336eb0e32f8c9;p=yardstick.git diff --git a/nsb_setup.sh b/nsb_setup.sh index 85bd7b2c4..28d31967f 100755 --- a/nsb_setup.sh +++ b/nsb_setup.sh @@ -22,11 +22,11 @@ for i in "${pkg[@]}"; do fi done -pip install ansible==2.2.2.0 shade==1.17.0 docker-py==1.10.6 +pip install ansible==2.3.2 shade==1.17.0 docker-py==1.10.6 if [ $# -eq 1 ]; then - extra_args="-e openrc_file=$1" - OPENRC=$1 + OPENRC=$(readlink -f -- "$1") + extra_args="-e openrc_file=${OPENRC}" source "${OPENRC}" CONTROLLER_IP=$(echo ${OS_AUTH_URL} | sed -ne "s/http:\/\/\(.*\):.*/\1/p") export no_proxy="localhost,127.0.0.1,${CONTROLLER_IP},$no_proxy"