summaryrefslogtreecommitdiffstats
path: root/lib/container/list
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2018-07-17 17:02:53 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2018-07-17 17:37:06 +0000
commit0c6c517a17a8d78c7f50f73479119ae41ffa4a24 (patch)
treec684e47bdb918eb7a0db1f8e7da3add3a598c05a /lib/container/list
parentDropping untested arm64 specific settings in container start command. (diff)
downloadcompute-tools-0c6c517a17a8d78c7f50f73479119ae41ffa4a24.tar.xz
compute-tools-0c6c517a17a8d78c7f50f73479119ae41ffa4a24.zip
Also allowing symlinks for containers, requires systemd 233 or newer (see #805785).
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xlib/container/list2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container/list b/lib/container/list
index 6fa9eed..816d521 100755
--- a/lib/container/list
+++ b/lib/container/list
@@ -322,7 +322,7 @@ esac
if ls "${MACHINES}"/* > /dev/null 2>&1
then
- CONTAINERS="$(cd "${MACHINES}" 2>/dev/null && find -maxdepth 1 -type d -and -not -name 'lost+found' -printf '%P\n' | sort)"
+ CONTAINERS="$(cd "${MACHINES}" 2>/dev/null && find -maxdepth 1 \( -type d -or -type l \) -and -not -name 'lost+found' -printf '%P\n' | sort)"
fi
for CONTAINER in ${CONTAINERS}