summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-10-17 07:40:27 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-10-17 09:43:25 -0500
commit501abc68e6a974d7e5dd480233bf44a2f20fc0b3 (patch)
treec4a30540a7708792b127343b540cd971c1566dea /ci/deploy.sh
parent7ae91a059f2b498ebacc66440f5de21eea99033c (diff)
modified to typo error.
Change-Id: I9992d424a6b74578b918c5a749ae86e892ea4084 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-xci/deploy.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 66a9e8f8..09427476 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -137,6 +137,10 @@ deploy() {
createresource
fi
+ if [[ "$jujuver" > "2" ]]; then
+ juju model-config default-series=$opnfvdistro enable-os-refresh-update=false enable-os-upgrade=false
+ fi
+
#bootstrap the node
./01-bootstrap.sh
@@ -179,7 +183,7 @@ echo "...... deployment finished ......."
# creating heat domain after puching the public API into /etc/hosts
-if [ "$jujuver" > "2" ]; then
+if [[ "$jujuver" > "2" ]]; then
status=`juju run-action do heat/0 domain-setup`
echo $status
else