summaryrefslogtreecommitdiffstats
path: root/lib/container/start
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-01-21 20:28:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-01-21 20:28:27 +0000
commitb3522ebddcc0e8ff8fa19836d713f13fa65fc2f1 (patch)
tree8f00f924ffe1347a0c3cf8cc72d741444dfc0570 /lib/container/start
parentAdding upstream version 20191104. (diff)
downloadopen-infrastructure-compute-tools-upstream/20200121.tar.xz
open-infrastructure-compute-tools-upstream/20200121.zip
Adding upstream version 20200121.upstream/20200121
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/container/start')
-rwxr-xr-xlib/container/start10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/container/start b/lib/container/start
index 13fc6ef..f89944d 100755
--- a/lib/container/start
+++ b/lib/container/start
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2014-2019 Daniel Baumann <daniel.baumann@open-infrastructure.net>
+# Copyright (C) 2014-2020 Daniel Baumann <daniel.baumann@open-infrastructure.net>
#
# SPDX-License-Identifier: GPL-3.0+
#
@@ -34,8 +34,8 @@ Parameters ()
{
OPTIONS_ALL=""
- GETOPT_LONGOPTIONS="name:,force,nspawn,start,"
- GETOPT_OPTIONS="n:f,"
+ GETOPT_LONGOPTIONS="name:,force,nspawn,start,verbose,"
+ GETOPT_OPTIONS="n:,f,v,"
PARAMETERS="$(getopt --longoptions ${GETOPT_LONGOPTIONS} --name=${COMMAND} --options ${GETOPT_OPTIONS} --shell sh -- ${@})"
@@ -75,6 +75,10 @@ Parameters ()
shift 1
;;
+ -v|--verbose)
+ VERBOSE="true"
+ ;;
+
--)
shift 1
break