summaryrefslogtreecommitdiffstats
path: root/debian/open-infrastructure-dehydrated-tools.config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-09-03 10:56:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-09-03 10:56:39 +0000
commitd2cc38cfddfe3ba8a028f071078c0015be64f51d (patch)
tree073c04edacdc910e5479ed5b4e347a44de2ef7e8 /debian/open-infrastructure-dehydrated-tools.config
parentParsing control file in rules to automatically enable packages. (diff)
downloadopen-infrastructure-service-tools-d2cc38cfddfe3ba8a028f071078c0015be64f51d.tar.xz
open-infrastructure-service-tools-d2cc38cfddfe3ba8a028f071078c0015be64f51d.zip
Adding remaining configuration options for dehydrated preseeding.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/open-infrastructure-dehydrated-tools.config')
-rw-r--r--debian/open-infrastructure-dehydrated-tools.config27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/open-infrastructure-dehydrated-tools.config b/debian/open-infrastructure-dehydrated-tools.config
index e795e68..28c38ed 100644
--- a/debian/open-infrastructure-dehydrated-tools.config
+++ b/debian/open-infrastructure-dehydrated-tools.config
@@ -21,6 +21,15 @@ db_settitle open-infrastructure-dehydrated-tools/title
db_input low open-infrastructure-dehydrated-tools/ca || true
db_go
+if [ -n "${AUTO_CLEANUP}" ]
+then
+ db_set open-infrastructure-dehydrated-tools/auto-cleanup "${AUTO_CLEANUP}"
+fi
+
+db_settitle open-infrastructure-dehydrated-tools/title
+db_input low open-infrastructure-dehydrated-tools/auto-cleanup || true
+db_go
+
if [ -n "${CHALLENGETYPE}" ]
then
db_set open-infrastructure-dehydrated-tools/challengetype "${CHALLENGETYPE}"
@@ -60,4 +69,22 @@ then
db_go
fi
+if [ -n "${OCSP_FETCH}" ]
+then
+ db_set open-infrastructure-dehydrated-tools/ocsp-fetch "${OCSP_FETCH}"
+fi
+
+db_settitle open-infrastructure-dehydrated-tools/title
+db_input low open-infrastructure-dehydrated-tools/ocsp-fetch || true
+db_go
+
+if [ -n "${OCSP_MUST_STAPLE}" ]
+then
+ db_set open-infrastructure-dehydrated-tools/ocsp-must-staple "${OCSP_MUST_STAPLE}"
+fi
+
+db_settitle open-infrastructure-dehydrated-tools/title
+db_input low open-infrastructure-dehydrated-tools/ocsp-must-staple || true
+db_go
+
db_stop