diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-06-07 11:08:15 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-06-07 14:50:38 -0500 |
commit | a974eb71bd5a89062ff5a1899703ef22ba41852e (patch) | |
tree | 10b3a7584c37921c7dd3288f5020e0fd6cff6a26 /ci/01-deploybundle.sh | |
parent | cf4fbcbbfa5b7132be324717499d9d13f9452b3d (diff) |
modified the onos deployment as per new process where charms were
downloaded first then deployment started.
Change-Id: I97711241121577200d1223764c84e91cc1be05cb
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/01-deploybundle.sh')
-rwxr-xr-x | ci/01-deploybundle.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/01-deploybundle.sh b/ci/01-deploybundle.sh index 636afc14..7addbce2 100755 --- a/ci/01-deploybundle.sh +++ b/ci/01-deploybundle.sh @@ -42,8 +42,8 @@ if [ -e ~/.juju/deployment.yaml ]; then datanet=`grep "dataNetwork" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //'` - if [ -z "$datanet" ]; then - sed --i "s@#os-data-network: 10.4.8.0/21@os-data-network: $datanet@g" ./bundles.yaml + if [ "$datanet" != "''" ]; then + sed -i -- "s@#os-data-network: 10.4.8.0/21@os-data-network: $datanet@g" ./bundles.yaml fi admnet=`grep "admNetwork" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //'` |