summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf.d/0003-debconf.templates
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-07-22 10:48:59 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-07-22 22:28:22 +0000
commita886751a87e8831df47a7ce9c9952902e7a5623d (patch)
tree16bd3d0375e0612755783c68381e01ca9118d184 /share/scripts/debconf.d/0003-debconf.templates
parentUpdating default url to download images from in curl container create script. (diff)
downloadcompute-tools-a886751a87e8831df47a7ce9c9952902e7a5623d.tar.xz
compute-tools-a886751a87e8831df47a7ce9c9952902e7a5623d.zip
Adding cnt-debconf/mode preseed field to allow embedding container create script within preseed file itself without relying on a specific default create script being set on the host system, thanks to David Kunz for the idea.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rw-r--r--share/scripts/debconf.d/0003-debconf.templates8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/scripts/debconf.d/0003-debconf.templates b/share/scripts/debconf.d/0003-debconf.templates
index e46fa88..61b8154 100644
--- a/share/scripts/debconf.d/0003-debconf.templates
+++ b/share/scripts/debconf.d/0003-debconf.templates
@@ -2,6 +2,14 @@ Template: cnt-debconf/title
Type: title
Description: container-tools
+Template: cnt-debconf/mode
+Type: select
+Default:
+Choices-C: ${CHOICES_C}
+Choices: ${CHOICES}
+Description: Mode
+ Mode.
+
Template: cnt-debconf/distribution
Type: select
Default: