From 7c674a11ca49df28f78f49a876660891ad7b4355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Sp=C3=B6hel?= Date: Thu, 24 Aug 2023 16:35:18 +0200 Subject: basic cnt build for vms (debconf only) --- libexec/container/build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libexec') 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 -- cgit v1.2.3