aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.