summaryrefslogtreecommitdiffstats
path: root/ci/01-bootstrap.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-11-02 13:42:22 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-11-02 23:02:48 -0500
commit769c8026c814a4746db2bd7ff1cd2937e74381bd (patch)
tree6957d200aeeb091f4476312eb2586b262186ae4c /ci/01-bootstrap.sh
parent1e29dbbb3bfb71fa4c79a67dcd07b9cddca63ac2 (diff)
modified worker mutiplier from 1.0 to 1.1 as 1.0 is considered as
integer rather than floating. Change-Id: I463b7b3334d5c453caf5397baab9e4f36b7892df Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
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