From 34e0182023c8f97c6ac3339b61c02613255e99fa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 6 May 2016 13:38:35 +0200 Subject: Excluding snapshot directories for cephfs and netapp in container list command. Signed-off-by: Daniel Baumann --- lib/container/list | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/container/list b/lib/container/list index e9e3305..5ab5755 100755 --- a/lib/container/list +++ b/lib/container/list @@ -104,7 +104,7 @@ EOF ;; esac -CONTAINERS="$(cd "${MACHINES}" && find -maxdepth 1 -type d -and -not -name 'lost+found' -printf '%P\n' | sort)" +CONTAINERS="$(cd "${MACHINES}" && find -maxdepth 1 -type d -and -not -name 'lost+found' -and -not -name '.snap' -and -not -name '.snapshot' -printf '%P\n' | sort)" for CONTAINER in ${CONTAINERS} do -- cgit v1.2.3