diff options
author | Simon Spöhel <simon@spoehel.ch> | 2023-08-24 14:35:18 +0000 |
---|---|---|
committer | Simon Spöhel <simon@spoehel.ch> | 2023-08-24 14:41:06 +0000 |
commit | 7c674a11ca49df28f78f49a876660891ad7b4355 (patch) | |
tree | 6e0663b70509c15ec97f15ba24137117d30a9acb /libexec/container | |
parent | Adding todo file (FIXME). (diff) | |
download | compute-tools-7c674a11ca49df28f78f49a876660891ad7b4355.tar.xz compute-tools-7c674a11ca49df28f78f49a876660891ad7b4355.zip |
basic cnt build for vms (debconf only)
Diffstat (limited to '')
-rwxr-xr-x | libexec/container/build | 7 |
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 |