diff options
author | Simon Spöhel <simon@spoehel.ch> | 2019-07-23 06:07:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2019-08-11 08:50:28 +0000 |
commit | f90542f3b8631ff310fcee363547e974902d42b6 (patch) | |
tree | d75130000dfd545f9cd924c8b2be6a0ccc160a99 /share/scripts/debconf.d | |
parent | Fixing a bug where only the last item in lists passed via CLI was evaluated. (diff) | |
download | compute-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 'share/scripts/debconf.d')
-rwxr-xr-x | share/scripts/debconf.d/0003-debconf | 7 |
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) |