5 #export JUJU_DEV_FEATURE_FLAGS=address-allocation
7 jujuver=`juju --version`
9 if [[ "$jujuver" < "2" ]]; then
10 juju bootstrap --debug --to bootstrap.maas --agent-version 1.25.5
12 #disable juju gui until xenial charms are in charm store.
13 juju deploy cs:juju-gui-130 --to 0
16 juju set-constraints tags=
19 controllername=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployconfig.yaml`
20 cloudname=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployconfig.yaml`
21 juju bootstrap $controllername $cloudname --debug --to bootstrap.maas