summaryrefslogtreecommitdiffstats
path: root/ci/01-bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/01-bootstrap.sh')
-rwxr-xr-xci/01-bootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/01-bootstrap.sh b/ci/01-bootstrap.sh
index f09c8670..6adc2cff 100755
--- a/ci/01-bootstrap.sh
+++ b/ci/01-bootstrap.sh
@@ -16,7 +16,7 @@ if [[ "$jujuver" < "2" ]]; then
juju set-constraints tags=
else
- controllername=`awk 'NR==1{print $2}' environments.yaml`
- cloudname=`awk 'NR==1{print $2}' environments.yaml`
+ 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`
juju bootstrap $controllername $cloudname --debug --to bootstrap.maas
fi