aboutsummaryrefslogtreecommitdiff
path: root/tools/cleanup-images
diff options
context:
space:
mode:
authorcaoyuan <cao.yuan@99cloud.net>2018-01-08 16:26:17 +0800
committercaoyuan <cao.yuan@99cloud.net>2018-01-08 16:35:41 +0800
commit8cb57f54fa055d966d5b03389b0051e780435ee1 (patch)
treed0a18a36599ed163e7b4d9dc696d0a1c809a7aea /tools/cleanup-images
parent1b70a37db125e14ee75a6c9b021e5036f521aa78 (diff)
downloadkolla-ansible-8cb57f54fa055d966d5b03389b0051e780435ee1.tar.gz
kolla-ansible-8cb57f54fa055d966d5b03389b0051e780435ee1.zip
Ensure docker running before execute the destroy action
Before cleanup containers and hosts, it should be ensure the docker serivce running but the destroy action missing it, this patch to fix it Change-Id: I85ca806c1fd395daf937b585d466e16fbad4e20c Closes-Bug: #1741852
Diffstat (limited to 'tools/cleanup-images')
-rwxr-xr-xtools/cleanup-images2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/cleanup-images b/tools/cleanup-images
index 1a8967317..762b2daf7 100755
--- a/tools/cleanup-images
+++ b/tools/cleanup-images
@@ -4,8 +4,6 @@
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
cd "$(dirname "$REAL_PATH")/.."
-. tools/validate-docker-execute.sh
-
function process_cmd {
if [[ -z "$KOLLA_IMAGES" ]]; then
echo "No images to cleanup, exit now."