summaryrefslogtreecommitdiffstats
path: root/bootstrap/teardown.sh
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2017-10-15 22:17:30 -0400
committerLusheng Ji <lji@research.att.com>2017-10-15 22:17:36 -0400
commitc37f51bb5a5d9cfc44a8e52eca1fcf231f04da04 (patch)
treea41e649bffcc2e6b5b5863688af9d43afd3e340f /bootstrap/teardown.sh
parent92fea0a265e96f77ad0314794bf02207560b99a4 (diff)
Add a hook for teardown to stop installer inf loop
Issue-Id: DCAEGEN2-127 Change-Id: I7396a17049fb3186203f48f0f57e77ef135c8dff Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'bootstrap/teardown.sh')
-rwxr-xr-xbootstrap/teardown.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstrap/teardown.sh b/bootstrap/teardown.sh
index 47508d1..4d1836c 100755
--- a/bootstrap/teardown.sh
+++ b/bootstrap/teardown.sh
@@ -22,6 +22,9 @@
#
set -x
set -e
+
+rm -f /tmp/ready_to_exit
+
source ./dcaeinstall/bin/activate
cd ./consul
cfy status
@@ -37,3 +40,4 @@ cfy uninstall -d consul
cd ..
cfy local uninstall
+touch /tmp/ready_to_exit