aboutsummaryrefslogtreecommitdiff
path: root/tools/cleanup-host
diff options
context:
space:
mode:
authorBertrand Lallau <bertrand.lallau@thalesgroup.com>2017-04-11 16:46:20 +0200
committerBertrand Lallau <bertrand.lallau@thalesgroup.com>2017-04-11 16:51:10 +0200
commit1077da72621a7b3fc8410d8e820a115d0e26ab02 (patch)
tree6dba81f01097df7276404c63b7dcf333efce410d /tools/cleanup-host
parent9a2df7e5a5fe9d021b2cb8d1383630ca094a90ba (diff)
downloadkolla-ansible-1077da72621a7b3fc8410d8e820a115d0e26ab02.tar.gz
kolla-ansible-1077da72621a7b3fc8410d8e820a115d0e26ab02.zip
Remove dead code from cleanup-host.sh script
sourcing validate-docker-execute.sh script is not needed anymore and should be removed. Change-Id: Ie40ddcd36e71337d94f49467bfb0f8aae50353f7
Diffstat (limited to 'tools/cleanup-host')
-rwxr-xr-xtools/cleanup-host6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/cleanup-host b/tools/cleanup-host
index c319ce0b8..4d4c93eab 100755
--- a/tools/cleanup-host
+++ b/tools/cleanup-host
@@ -1,10 +1,5 @@
#!/bin/bash
-# Move to top level directory
-REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
-cd "$(dirname "$REAL_PATH")/.."
-. tools/validate-docker-execute.sh
-
# Spawning the neutron agents containers leaves artifacts on the host.
# This script removes these artifacts.
ip netns list | while read -r line ; do
@@ -57,4 +52,3 @@ for dir in $FOLDER_PATH*; do
rm -rfv $dir
fi
done
-