summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorSimon Spöhel <simon@spoehel.ch>2023-08-24 14:35:18 +0000
committerSimon Spöhel <simon@spoehel.ch>2023-08-24 14:41:06 +0000
commit7c674a11ca49df28f78f49a876660891ad7b4355 (patch)
tree6e0663b70509c15ec97f15ba24137117d30a9acb /libexec
parentAdding todo file (FIXME). (diff)
downloadcompute-tools-7c674a11ca49df28f78f49a876660891ad7b4355.tar.xz
compute-tools-7c674a11ca49df28f78f49a876660891ad7b4355.zip
basic cnt build for vms (debconf only)
Diffstat (limited to '')
-rwxr-xr-xlibexec/container/build7
1 files changed, 6 insertions, 1 deletions
diff --git a/libexec/container/build b/libexec/container/build
index 2c29730..efb42f3 100755
--- a/libexec/container/build
+++ b/libexec/container/build
@@ -32,7 +32,7 @@ CONFIG_TEMPLATE="/usr/share/${SOFTWARE}/config/container.conf.in"
Parameters ()
{
- GETOPT_LONGOPTIONS="name:,cnt.auto:,cnt.container-server:,cnt.overlay:,cnt.overlay-options:,cnt.start:,bind:,bind-ro:,capability:,drop-capability:,script:,verbose,"
+ GETOPT_LONGOPTIONS="name:,cnt.auto:,cnt.container-server:,cnt.overlay:,cnt.overlay-options:,cnt.start:,bind:,bind-ro:,capability:,drop-capability:,script:,boot-method:,verbose,"
GETOPT_OPTIONS="n:,b:,c:,d:,s:,v,"
PARAMETERS="$(getopt --longoptions ${GETOPT_LONGOPTIONS} --name=${COMMAND} --options ${GETOPT_OPTIONS} --shell sh -- ${@})"
@@ -108,6 +108,11 @@ Parameters ()
shift 1
;;
+ --boot-method)
+ BOOT_METHOD="${2}"
+ shift 2
+ ;;
+
--)
shift 1
break