summaryrefslogtreecommitdiffstats
path: root/ci/01-bootstrap.sh
blob: e45c2ee094334a4db48cf090aa682583d1f80718 (plain)
1
2
3
4
5
6
7
#!/bin/bash

set -ex

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