From 31419c67b8737dcea4768627b3ebf11f68e5e2bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C2=B6rgen=20Karlsson?= Date: Tue, 19 Jan 2016 12:35:45 +0100 Subject: [PATCH] Fix EXTERNAL_NETWORK for joid MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I31c932a9098933fe139c28a65c3989a0014d0f8d Signed-off-by: Jo¶rgen Karlsson --- ci/prepare_env.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 .." -- 2.16.6