aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh')
-rwxr-xr-xdeployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh8
1 files changed, 7 insertions, 1 deletions
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 <num k8s vms>"
+ exit 1
+fi
+NUM_K8S_VMS=$1
+
if [ -z "$WORKSPACE" ]; then
export WORKSPACE=`git rev-parse --show-toplevel`