Fix EXTERNAL_NETWORK for joid 69/7269/2
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
Tue, 19 Jan 2016 11:35:45 +0000 (12:35 +0100)
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>
Tue, 19 Jan 2016 11:53:04 +0000 (11:53 +0000)
Change-Id: I31c932a9098933fe139c28a65c3989a0014d0f8d
Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
ci/prepare_env.sh

index 89d4ca7..c00c079 100755 (executable)
 : ${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 .."