From: Jo¶rgen Karlsson Date: Tue, 19 Jan 2016 11:35:45 +0000 (+0100) Subject: Fix EXTERNAL_NETWORK for joid X-Git-Tag: colorado.1.0~254 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F69%2F7269%2F2;p=yardstick.git Fix EXTERNAL_NETWORK for joid Change-Id: I31c932a9098933fe139c28a65c3989a0014d0f8d Signed-off-by: Jo¶rgen Karlsson --- diff --git a/ci/prepare_env.sh b/ci/prepare_env.sh index 89d4ca74d..c00c07943 100755 --- a/ci/prepare_env.sh +++ b/ci/prepare_env.sh @@ -16,6 +16,10 @@ : ${POD_NAME:='opnfv-jump-2'} : ${EXTERNAL_NETWORK:='net04_ext'} +# Extract network name from EXTERNAL_NETWORK +# e.g. EXTERNAL_NETWORK='ext-net;flat;192.168.0.2;192.168.0.253;192.168.0.1;192.168.0.0/24' +export EXTERNAL_NETWORK=$(echo $EXTERNAL_NETWORK | cut -f1 -d \;) + echo echo "INFO: Creating openstack credentials .."