Merge "Remove dead code from cleanup-host.sh script"

This commit is contained in:
Jenkins 2017-04-11 15:17:03 +00:00 committed by Gerrit Code Review
commit 7aec66069e

View File

@ -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