aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-10-23 13:19:45 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-10-23 13:19:45 -0700
commit5f717419d9cbc937df2a0ab61a8d6f513375c8be (patch)
tree90322a57ecfc13edcdb868a3273077df9d863b17
parent99a7c1a61059fafafe8e512d41e9e95fb805a899 (diff)
Minor tweaks to stack deletion commands
Change-Id: I5e5fa540bfa157207b79921a97595eed7de1045c Issue-ID: INT-278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-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}"