summaryrefslogtreecommitdiffstats
path: root/share/build-scripts/debconf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-06-05 08:23:22 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-06-05 08:23:42 +0000
commit00321fb92a1aeeb71315d139a8725796f4cce462 (patch)
treeaf25a474e346fca4aeaba49810063448407087a5 /share/build-scripts/debconf
parentAutomatically restoring previous state after reboot by using last-on/last-off... (diff)
downloadcompute-tools-00321fb92a1aeeb71315d139a8725796f4cce462.tar.xz
compute-tools-00321fb92a1aeeb71315d139a8725796f4cce462.zip
Setting default for cnt.auto to last-on in debconf build scripts.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xshare/build-scripts/debconf.d/0003-debconf4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/build-scripts/debconf.d/0003-debconf b/share/build-scripts/debconf.d/0003-debconf
index d428228..edd3ea7 100755
--- a/share/build-scripts/debconf.d/0003-debconf
+++ b/share/build-scripts/debconf.d/0003-debconf
@@ -1233,10 +1233,10 @@ Internal_options ()
if db_get container/auto
then
- CNT_AUTO="${RET:-true}" # string (w/o empty)
+ CNT_AUTO="${RET:-last-on}" # string (w/o empty)
fi
- CNT_AUTO="${CNT_AUTO:-true}"
+ CNT_AUTO="${CNT_AUTO:-last-on}"
echo "CNT_AUTO=\"${CNT_AUTO}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
if db_get container/container-server