diff options
author | Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2016-01-19 12:35:45 +0100 |
---|---|---|
committer | Jörgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2016-01-19 11:56:47 +0000 |
commit | aa43aeffbc6a6203bad04d1f9f6c7327a3657b59 (patch) | |
tree | 4f3e540bd61401a05d61ee36db589ff2dea5733b | |
parent | 03b56f88fb9fda5396f117e8721f715d30e34966 (diff) |
Fix EXTERNAL_NETWORK for joid
Change-Id: I31c932a9098933fe139c28a65c3989a0014d0f8d
Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
(cherry picked from commit 31419c67b8737dcea4768627b3ebf11f68e5e2bc)
-rwxr-xr-x | ci/prepare_env.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 .." |