modified to correct the labconfig.yaml and reserver more ip.
[joid.git] / ci / 01-bootstrap.sh
index c04ae2d..e45c2ee 100755 (executable)
@@ -2,10 +2,6 @@
 
 set -ex
 
-juju bootstrap --debug --to bootstrap.maas
-sleep 5
-juju deploy juju-gui --to 0
-
-JUJU_REPOSITORY=
-juju set-constraints tags=
-
+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