From 63840b4c5860c1c0f35d82287d0aaf74cf22d7e1 Mon Sep 17 00:00:00 2001
From: Narinder Gupta <narinder.gupta@canonical.com>
Date: Sun, 5 Jun 2016 01:11:37 -0500
Subject: 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>
---
 ci/01-deploybundle.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ci')

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/ //'`
-- 
cgit 1.2.3-korg