summaryrefslogtreecommitdiff
path: root/en/appendix
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@debian.org>2017-04-09 20:07:29 +0000
committerSamuel Thibault <sthibault@debian.org>2017-04-09 20:07:29 +0000
commit5eae232e609287e1bcfe976fe21df14a0fb901ac (patch)
tree78792ab66705e9b696e15670adf45da8a7551e97 /en/appendix
parent2f0a716e09e19ee1a43c0b3c112a2f39262de668 (diff)
downloadinstallation-guide-5eae232e609287e1bcfe976fe21df14a0fb901ac.zip
Add header to preseed file. Closes: #859438
Diffstat (limited to 'en/appendix')
-rw-r--r--en/appendix/preseed.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/en/appendix/preseed.xml b/en/appendix/preseed.xml
index 9adcff049..a1f19e49e 100644
--- a/en/appendix/preseed.xml
+++ b/en/appendix/preseed.xml
@@ -633,6 +633,18 @@ a line in a preconfiguration file is:
</para><para>
+The file should start with <literal>#_preseed_V1</literal>
+<!--
+ The "should" is for the Stretch release,
+ so later releases use the comment
+ as a magic string to identify a preseed file
+
+ see also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848726
+-->
+
+
+</para><para>
+
There are a few rules to keep in mind when writing a preconfiguration file.
</para>
@@ -667,6 +679,10 @@ There are a few rules to keep in mind when writing a preconfiguration file.
Some questions take a code as value instead of the English text that is
shown during installation.
</para></listitem>
+<listitem><para>
+ Start with <literal>#_preseed_V1</literal>
+ <!-- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848726 -->
+</para></listitem>
</itemizedlist>
<para>
@@ -682,7 +698,8 @@ rebooting, use the <command>debconf-get-selections</command> from the
database and the installer's cdebconf database to a single file:
<informalexample><screen>
-$ debconf-get-selections --installer &gt; <replaceable>file</replaceable>
+$ echo "#_preseed_V1" &gt; <replaceable>file</replaceable>
+$ debconf-get-selections --installer &gt;&gt; <replaceable>file</replaceable>
$ debconf-get-selections &gt;&gt; <replaceable>file</replaceable>
</screen></informalexample>