From 7d03458c5aaa59a252976176c932663b8f01f153 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Sat, 12 May 2018 09:08:20 -0700 Subject: Increase k8s VMs to 9 Change-Id: I0fb58dc5a41b93b680ee39020ef01b24170b5c46 Issue-ID: INT-381 Signed-off-by: Gary Wu --- deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'deployment/heat/onap-oom/scripts') diff --git a/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh b/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh index 19e7b60b1..41d511391 100755 --- a/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh +++ b/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh @@ -1,6 +1,12 @@ #!/bin/bash -NUM_K8S_VMS=7 +if [ "$#" -ne 1 ]; then + echo This script generates the HEAT template for X number of k8s VMs + echo "$0 " + exit 1 +fi +NUM_K8S_VMS=$1 + if [ -z "$WORKSPACE" ]; then export WORKSPACE=`git rev-parse --show-toplevel` -- cgit 1.2.3-korg