From 5f717419d9cbc937df2a0ab61a8d6f513375c8be Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Mon, 23 Oct 2017 13:19:45 -0700 Subject: Minor tweaks to stack deletion commands Change-Id: I5e5fa540bfa157207b79921a97595eed7de1045c Issue-ID: INT-278 Signed-off-by: Gary Wu --- test/ete/scripts/deploy-onap.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/ete/scripts') 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}" -- cgit 1.2.3-korg