summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorSimon Spöhel <simon@spoehel.ch>2019-07-23 06:07:23 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-08-11 08:50:28 +0000
commitf90542f3b8631ff310fcee363547e974902d42b6 (patch)
treed75130000dfd545f9cd924c8b2be6a0ccc160a99 /share
parentFixing a bug where only the last item in lists passed via CLI was evaluated. (diff)
downloadcompute-tools-f90542f3b8631ff310fcee363547e974902d42b6.tar.xz
compute-tools-f90542f3b8631ff310fcee363547e974902d42b6.zip
Fixing the debconf script to use the bind-ro string when preseeding.
Signed-off-by: Simon Spöhel <simon@spoehel.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xshare/scripts/debconf.d/0003-debconf7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/scripts/debconf.d/0003-debconf b/share/scripts/debconf.d/0003-debconf
index 02f80a6..1e0a99a 100755
--- a/share/scripts/debconf.d/0003-debconf
+++ b/share/scripts/debconf.d/0003-debconf
@@ -1229,6 +1229,13 @@ Internal_options ()
echo "BIND=\"${BIND}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
+ if db_get container/bind-ro
+ then
+ BIND_RO="${RET}" # string (w/ empty)
+ fi
+
+ echo "BIND_RO=\"${BIND_RO}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
+
if db_get container/overlay
then
CNT_OVERLAY="${RET}" # string (w/ empty)