summaryrefslogtreecommitdiffstats
path: root/ci/prepare_env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/prepare_env.sh')
-rwxr-xr-xci/prepare_env.sh4
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 .."