summaryrefslogtreecommitdiffstats
path: root/lib/container
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-08-30 13:04:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-08-30 13:04:09 +0000
commit95644890ef9af3a57455d273deef6a28e3876b52 (patch)
tree43dfbddc8929213dfda9eeca7ecbbab84c6a5531 /lib/container
parentAdding upstream version 20180527. (diff)
downloadopen-infrastructure-compute-tools-95644890ef9af3a57455d273deef6a28e3876b52.tar.xz
open-infrastructure-compute-tools-95644890ef9af3a57455d273deef6a28e3876b52.zip
Adding upstream version 20180825.upstream/20180825
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/container')
-rwxr-xr-xlib/container/list2
-rwxr-xr-xlib/container/start12
2 files changed, 1 insertions, 13 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}
diff --git a/lib/container/start b/lib/container/start
index 62fb926..ac0275e 100755
--- a/lib/container/start
+++ b/lib/container/start
@@ -161,18 +161,6 @@ case "${HOST_ARCHITECTURE}" in
;;
esac
;;
-
- arm64)
- case "${MACHINE_ARCHITECTURE}" in
- armel|armhf)
- SETARCH="setarch armv7l"
- ;;
-
- *)
- SETARCH=""
- ;;
- esac
- ;;
esac
case "${START}" in