aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-rke/cleanup.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2019-08-16 10:32:58 -0400
committerMarco Platania <platania@research.att.com>2019-08-16 13:44:52 -0400
commitbad325eb02edc5ac00e45d15cc9a3f9dcf5aadc5 (patch)
tree5e08b593d308bc74238d441f5eb45434c041b5d9 /deployment/heat/onap-rke/cleanup.sh
parentc80274e413a8bc8a47a831ad79d16f801dfc5af2 (diff)
Make cleanup script more generic
- Fix usage instructions - Correct wrong input sequence Issue-ID: INT-1073 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: Ic01eb302d92d893d17eb71a9341be514cb12dc3f
Diffstat (limited to 'deployment/heat/onap-rke/cleanup.sh')
-rwxr-xr-xdeployment/heat/onap-rke/cleanup.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/deployment/heat/onap-rke/cleanup.sh b/deployment/heat/onap-rke/cleanup.sh
new file mode 100755
index 000000000..24f263be6
--- /dev/null
+++ b/deployment/heat/onap-rke/cleanup.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+IFS='
+'
+
+if [ -z $1 ]; then
+ echo "ONAP component name missing"
+ echo "Usage: ./cleanup.sh onap_component_name"
+ exit 1
+fi
+
+( cd scripts; ./cleanup.sh $1 onap dev )