summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-06-05 01:11:37 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-06-05 01:34:45 -0500
commit63840b4c5860c1c0f35d82287d0aaf74cf22d7e1 (patch)
tree0dd57260107d2684d136d75d1c7a61119f85eb20 /ci
parent4c3af4a05172d22de01f5b57cc589db05af3cda5 (diff)
xextended the external port to the 5 mac address in case gateway
node gets picked by any of the node in pod. Change-Id: I08e4629cec92454cba3672508b1bf5f2450b47fd Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/01-deploybundle.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/01-deploybundle.sh b/ci/01-deploybundle.sh
index a889b06f..7aceab34 100755
--- a/ci/01-deploybundle.sh
+++ b/ci/01-deploybundle.sh
@@ -37,7 +37,7 @@ if [ -e ~/.juju/deployment.yaml ]; then
if [ -e ~/.juju/deployment.yaml ]; then
cp ~/.juju/deployconfig.yaml ./deployconfig.yaml
- extport=`grep "ext-port" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //'`
+ extport=`grep "ext-port" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //' | tr ',' ' '`
sed --i "s@#ext-port: \"eth1\"@ext-port: \"$extport\"@g" ./bundles.yaml
datanet=`grep "dataNetwork" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //'`