diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-01-21 20:28:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-01-21 20:28:57 +0000 |
commit | 35931568028715ceb35f5a2a1e42b28bc95d0cc5 (patch) | |
tree | 18894d6586f2a0035bfb6e551eeb3b4a0f63282f /lib/container/start | |
parent | Releasing debian version 20191104-1. (diff) | |
download | open-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-x | lib/container/start | 10 |
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 |