X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=ci%2Fdeploy.sh;h=094274762e976e18d1a3d048819bd85a218b23d5;hb=501abc68e6a974d7e5dd480233bf44a2f20fc0b3;hp=66a9e8f83448bb67081e5b120322c8f4c0490434;hpb=7ae91a059f2b498ebacc66440f5de21eea99033c;p=joid.git 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