aboutsummaryrefslogtreecommitdiff
path: root/tools/cleanup-host
diff options
context:
space:
mode:
authorHui Kang <kangh@us.ibm.com>2015-09-18 18:18:37 -0400
committerHui Kang <kangh@us.ibm.com>2015-09-18 18:21:29 -0400
commited0829ae5e8e9952aaee645c02cf83cf9c4de621 (patch)
treedbcd4258cd7ce6eeb81626f8ce2dbef811930486 /tools/cleanup-host
parent9e64644dc00dc881cc49385474cbace15de6e9d3 (diff)
downloadkolla-ansible-ed0829ae5e8e9952aaee645c02cf83cf9c4de621.tar.gz
kolla-ansible-ed0829ae5e8e9952aaee645c02cf83cf9c4de621.zip
Fix a small bug of wrong path to validate-docker-execuate
Change-Id: I61e7ac2bb0ec0b960dc807d8880d5da105aacd14 Closes-Bug: #1497463
Diffstat (limited to 'tools/cleanup-host')
-rwxr-xr-xtools/cleanup-host3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/cleanup-host b/tools/cleanup-host
index c38dace43..3cc4ae23d 100755
--- a/tools/cleanup-host
+++ b/tools/cleanup-host
@@ -1,10 +1,9 @@
#!/bin/bash
-. tools/validate-docker-execute
-
# 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
# Spawning the neutron-agents container leaves artifacts on the host.
# This script removes these artifacts.