summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornarindergupta <narinder.gupta@canonical.com>2016-06-07 01:33:33 -0500
committernarindergupta <narinder.gupta@canonical.com>2016-06-07 01:34:31 -0500
commitcf4fbcbbfa5b7132be324717499d9d13f9452b3d (patch)
tree754884175e9a074e78bc60f5db02c67e550068d8
parentaca4784eacb9b27e8640b90af3edbebea96aa39f (diff)
syntax error
Change-Id: If7d3c7063a737b8b55dc9f1cc6c59b14aad1eb10 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
-rwxr-xr-xci/01-deploybundle.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/01-deploybundle.sh b/ci/01-deploybundle.sh
index 660db5bd..636afc14 100755
--- a/ci/01-deploybundle.sh
+++ b/ci/01-deploybundle.sh
@@ -41,7 +41,8 @@ if [ -e ~/.juju/deployment.yaml ]; then
sed --i "s@#ext-port: \"eth1\"@ext-port: \"$extport\"@g" ./bundles.yaml
datanet=`grep "dataNetwork" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //'`
- if [ -z "$datanet" ]
+
+ if [ -z "$datanet" ]; then
sed --i "s@#os-data-network: 10.4.8.0/21@os-data-network: $datanet@g" ./bundles.yaml
fi