diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2015-11-05 12:51:01 -0600 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2015-11-05 12:52:23 -0600 |
commit | bfdfa5e479c29131609a23a2d25257eb989727c1 (patch) | |
tree | 95b77e3f8f06d04f68dd38455c92dcb55a70c900 /ci | |
parent | 77d10468358b749b73f9d1c27f5091f46f9b9b2b (diff) |
modified to fix the typo error.
Change-Id: I9e48000abdd7b19affe586e731e36a49e66bb8fc
Author: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/odl/01-deploybundle.sh | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/ci/odl/01-deploybundle.sh b/ci/odl/01-deploybundle.sh index 059afbcb..4fdfe808 100755 --- a/ci/odl/01-deploybundle.sh +++ b/ci/odl/01-deploybundle.sh @@ -33,20 +33,25 @@ esac echo "... Deployment Started ...." case "$1" in - 'nonha' ) - juju-deployer -vW -d -c bundles.yaml trusty-"$2" - ;; 'ha' ) juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes - juju run --service nodes-api 'sudo ifup eth1' - juju run --service nodes-coompute 'sudo ifup eth1' - juju-deployer -vW -d -c bundles.yaml trusty-"$2" - ;; - 'tip' ) - juju-deployer -vW -d -c bundles.yaml trusty-"$2" - ;; - * ) - juju-deployer -vW -d -c bundles.yaml trusty-"$2" + case "$3" in + 'orangepod2' ) + juju run --service nodes-api 'sudo ifup eth3' + juju run --service nodes-compute 'sudo ifup eth5' + ;; + 'intelpod6' ) + juju run --service nodes-api 'sudo ifup eth1' + juju run --service nodes-compute 'sudo ifup eth1' + ;; + 'intelpod5' ) + juju run --service nodes-api 'sudo ifup eth1' + juju run --service nodes-compute 'sudo ifup eth1' + ;; + esac ;; esac + +juju-deployer -vW -d -c bundles.yaml trusty-"$2" + echo "... Deployment finished ...." |