summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf.d/0003-debconf
diff options
context:
space:
mode:
authorKatharina Drexel <katharina.drexel@bfh.ch>2020-10-06 14:45:04 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-10-30 04:03:49 +0000
commit64d33d4cef3b79122cbe4b62b80817f679b656df (patch)
tree197ad9cc838fe94c3966d83b86f91dcb0832d552 /share/scripts/debconf.d/0003-debconf
parentAdding overlay options to container start command. (diff)
downloadcompute-tools-64d33d4cef3b79122cbe4b62b80817f679b656df.tar.xz
compute-tools-64d33d4cef3b79122cbe4b62b80817f679b656df.zip
Adding overlay options to debconf script.
Signed-off-by: Katharina Drexel <katharina.drexel@bfh.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 1fcb878..dc2db47 100755
--- a/share/scripts/debconf.d/0003-debconf
+++ b/share/scripts/debconf.d/0003-debconf
@@ -1246,6 +1246,13 @@ Internal_options ()
fi
echo "CNT_OVERLAY=\"${CNT_OVERLAY}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
+
+ if db_get container/overlay-options
+ then
+ CNT_OVERLAY_OPTIONS="${RET}" # string (w/ empty)
+ fi
+
+ echo "CNT_OVERLAY_OPTIONS=\"${CNT_OVERLAY_OPTIONS}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
}
Mode