summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-09-22 21:07:11 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-09-22 21:07:11 +0000
commit5b50c668e82df945b63fd8792f46b8a64f1553f4 (patch)
tree81dca0db142efe4513b2f7a4499c429664d59020
parentCorrecting wrong usages of new and old container names in container move comm... (diff)
downloadcompute-tools-5b50c668e82df945b63fd8792f46b8a64f1553f4.tar.xz
compute-tools-5b50c668e82df945b63fd8792f46b8a64f1553f4.zip
Adding missing colon in container create commands '--script' option.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xlib/container/create2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container/create b/lib/container/create
index 46fc7ee..a07525a 100755
--- a/lib/container/create
+++ b/lib/container/create
@@ -31,7 +31,7 @@ CONFIG_TEMPLATE="/usr/share/${PROJECT}/${PROGRAM}/config/container.conf.in"
Parameters ()
{
- GETOPT_LONGOPTIONS="name:,cnt.container-server:,cnt.overlay:,bind:,bind-ro:,capability:,drop-capability:script:,verbose,"
+ GETOPT_LONGOPTIONS="name:,cnt.container-server:,cnt.overlay:,bind:,bind-ro:,capability:,drop-capability:,script:,verbose,"
GETOPT_OPTIONS="n:,b:,c:,d:,s:,v,"
PARAMETERS="$(getopt --longoptions ${GETOPT_LONGOPTIONS} --name=${COMMAND} --options ${GETOPT_OPTIONS} --shell sh -- ${@})"