summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
diff options
context:
space:
mode:
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