aboutsummaryrefslogtreecommitdiffstats
path: root/test/ete/scripts/deploy-onap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/ete/scripts/deploy-onap.sh')
-rwxr-xr-xtest/ete/scripts/deploy-onap.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/ete/scripts/deploy-onap.sh b/test/ete/scripts/deploy-onap.sh
index 69c6dfb84..2106175a9 100755
--- a/test/ete/scripts/deploy-onap.sh
+++ b/test/ete/scripts/deploy-onap.sh
@@ -48,10 +48,8 @@ fi
# 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}"