aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-12-14 05:06:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-14 05:06:35 +0000
commite9973c86a548ea2b62cd85b25e52e5a3063c9415 (patch)
treec84140783287847a8a7c0d963c0b8464b490986e
parent9e218eb334621677379485033b3a75ea6cae2ac3 (diff)
parentb2221a6d2241ff536bee7eff6f22d41161d4e3c3 (diff)
Merge "Fix controller IP parsing in "nsb_setup.sh" script" into stable/euphrates
-rwxr-xr-xnsb_setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsb_setup.sh b/nsb_setup.sh
index 28d31967f..40293fef9 100755
--- a/nsb_setup.sh
+++ b/nsb_setup.sh
@@ -28,7 +28,7 @@ if [ $# -eq 1 ]; then
OPENRC=$(readlink -f -- "$1")
extra_args="-e openrc_file=${OPENRC}"
source "${OPENRC}"
- CONTROLLER_IP=$(echo ${OS_AUTH_URL} | sed -ne "s/http:\/\/\(.*\):.*/\1/p")
+ CONTROLLER_IP=$(echo ${OS_AUTH_URL} | sed -ne "s#http://\([0-9a-zA-Z.\-]*\):*[0-9]*/.*#\1#p")
export no_proxy="localhost,127.0.0.1,${CONTROLLER_IP},$no_proxy"
fi