integer rather than floating.
Change-Id: I463b7b3334d5c453caf5397baab9e4f36b7892df
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
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
echo $max
if [ "$max" -lt 4 ];then
- workmutiple=1.0
+ workmutiple=1.1
elif [ "$max" -lt 33 ]; then
workmutiple=0.25
elif [ "$max" -lt 73 ]; then
associated=1
FLOAT_IP="$(openstack server list | grep jumpserver2 | awk '{ print $13 }')"
else
- FLOAT_IP="$(openstack ip floating create ext-net -c ip -f value)"
+ FLOAT_IP="$(openstack floating ip create ext-net -c floating_ip_address -f value)"
fi
#Launch an instance