summaryrefslogtreecommitdiffstats
path: root/lib/container/list
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-10-06 09:44:56 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-10-06 09:45:03 +0000
commit96e071824a2a9fba1db5b472345c0f77432a7ea5 (patch)
tree8e2265d84a4030a4eb8e2ac9e3807b758b5ac3e5 /lib/container/list
parentReleasing version 20170726. (diff)
downloadcompute-tools-96e071824a2a9fba1db5b472345c0f77432a7ea5.tar.xz
compute-tools-96e071824a2a9fba1db5b472345c0f77432a7ea5.zip
Using linux as fallback TERM in container list command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xlib/container/list2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/container/list b/lib/container/list
index cd88475..80e4e35 100755
--- a/lib/container/list
+++ b/lib/container/list
@@ -26,6 +26,8 @@ MACHINES="/var/lib/machines"
VERSION="$(container version)"
+TERM="${TERM:-linux}"
+
Parameters ()
{
GETOPT_LONGOPTIONS="all,csv-separator:,format:,host:,nwdiag-color:,nwdiag-label:,other,started,stopped,"