summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xshare/build-scripts/debconf.d/0001-preseed-file9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/build-scripts/debconf.d/0001-preseed-file b/share/build-scripts/debconf.d/0001-preseed-file
index 8409486..d2da46d 100755
--- a/share/build-scripts/debconf.d/0001-preseed-file
+++ b/share/build-scripts/debconf.d/0001-preseed-file
@@ -31,6 +31,15 @@ export DEBCONF_NOWARNINGS
. /usr/share/debconf/confmodule
+# debconf template hierarchy (first match wins):
+#
+# 1. user specified a preseed file through commandline options
+# 2. /etc/compute-tools/debconf/${NAME}.cfg exists
+# 3. /etc/compute-tools/debconf/*/${NAME}.cfg exists (only one file!)
+# 4. /etc/compute-tools/debconf/default.cfg exists
+# 5. user chooses from list of available (if any) *.cfg files
+# (recursively) found in /etc/compute-tools/debconf.
+
if [ -n "${PRESEED_FILE}" ]
then
# user specified one or more preseed files through commandline option