Minor tweaks to stack deletion commands
Change-Id: I5e5fa540bfa157207b79921a97595eed7de1045c
Issue-ID: INT-278
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
diff --git a/test/ete/scripts/deploy-onap.sh b/test/ete/scripts/deploy-onap.sh
index 69c6dfb..2106175 100755
--- a/test/ete/scripts/deploy-onap.sh
+++ b/test/ete/scripts/deploy-onap.sh
@@ -48,10 +48,8 @@
# Delete all existing stacks
STACKS=$(openstack stack list -c "Stack Name" -f value)
-for stack in "${STACKS[@]}"; do
- echo "Deleting Old Stack ${stack}"
- openstack stack delete -y $stack
-done
+echo "Deleting Stacks ${STACKS}"
+openstack stack delete -y $STACKS
STACK="ete-$(uuidgen | cut -c-8)"
echo "New Stack Name: ${STACK}"