Change-Id: I12bca680d405f917612af1925d8a9bb3c894e79c
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
echo $max
if [ "$max" -lt 8 ];then
- workmutiple=1
- elif [ "$max" -lt 32 ]; then
+ workmutiple=1.0
+ elif [ "$max" -lt 33 ]; then
workmutiple=0.25
- elif [ "$max" -lt 72 ]; then
+ elif [ "$max" -lt 73 ]; then
workmutiple=0.1
else
workmutiple=0.05
fi
- sed -i "s/worker-multiplier: 2/worker-multiplier: ${workmutiple}/g" default_deployment_config.yaml
+ sed -i "s/worker_multiplier: 2/worker_multiplier: ${workmutiple}/g" default_deployment_config.yaml
fi
case "$opnfvlab" in