summaryrefslogtreecommitdiffstats
path: root/lib/container/start
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-01-21 20:28:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-01-21 20:28:57 +0000
commit35931568028715ceb35f5a2a1e42b28bc95d0cc5 (patch)
tree18894d6586f2a0035bfb6e551eeb3b4a0f63282f /lib/container/start
parentReleasing debian version 20191104-1. (diff)
downloadopen-infrastructure-compute-tools-35931568028715ceb35f5a2a1e42b28bc95d0cc5.tar.xz
open-infrastructure-compute-tools-35931568028715ceb35f5a2a1e42b28bc95d0cc5.zip
Merging upstream version 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