change the charm version to latest for rados-gw as well.
[joid.git] / ci / 01-bootstrap.sh
index 4d265f3..88f87dd 100755 (executable)
@@ -7,7 +7,7 @@ set -ex
 jujuver=`juju --version`
 
 if [[ "$jujuver" < "2" ]]; then
-  juju bootstrap --debug --to bootstrap.maas --agent-version 1.25.6
+  juju bootstrap --debug --to bootstrap.maas --agent-version 1.25.5
   sleep 5
   #disable juju gui until xenial charms are in charm store.
   juju deploy cs:juju-gui-130 --to 0
@@ -16,7 +16,7 @@ if [[ "$jujuver" < "2" ]]; then
   juju set-constraints tags=
 
 else
-  controllername=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployment.yaml`
-  cloudname=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployment.yaml`
+  controllername=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployconfig.yaml`
+  cloudname=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployconfig.yaml`
   juju bootstrap $controllername $cloudname --debug --to bootstrap.maas
 fi