diff options
author | Frans Pop <elendil@planet.nl> | 2005-11-28 21:41:13 +0000 |
---|---|---|
committer | Frans Pop <elendil@planet.nl> | 2005-11-28 21:41:13 +0000 |
commit | 02ee4111e988f70b6105395e798c54030d10d038 (patch) | |
tree | 53f58af2f43b398e9d3a2183f8265f02cb251899 /en/appendix | |
parent | 30cee1c3e03d36fde5810b21d4bba543df8c9876 (diff) | |
download | installation-guide-02ee4111e988f70b6105395e798c54030d10d038.zip |
Updates suggested by Joey after review
Diffstat (limited to 'en/appendix')
-rw-r--r-- | en/appendix/preseed.xml | 63 |
1 files changed, 37 insertions, 26 deletions
diff --git a/en/appendix/preseed.xml b/en/appendix/preseed.xml index 87065ba91..aa3012551 100644 --- a/en/appendix/preseed.xml +++ b/en/appendix/preseed.xml @@ -147,6 +147,7 @@ partitions. You currently cannot use preseeding to set up RAID and LVM. </para> </sect2> +<!-- Joeyh feels this is too technical, so leave it out for now <sect2 id="preseed-debconf"> <title>Debconf basics</title> <para> @@ -205,6 +206,7 @@ are stored in a separate, non-readable file in the same directory. </para> </sect2> +--> <sect2 id="preseed-hooks"> <title>Running custom commands during the installation</title> @@ -270,6 +272,12 @@ will have to remaster the ISO image. How to get the preseed file included in the initrd is outside the scope of this document; please consult the developers documentation for &d-i;. +</para><para> + +An example preseed file that you can use as basis for your preseed file is +available from &urlset-example-preseed;. This file is based on the +configuration fragments included in this appendix. + </para> <sect2 id="preseed-loading"> @@ -656,6 +664,27 @@ d-i time/zone string US/Eastern </sect2> + <sect2 id="preseed-apt"> + <title>Apt setup</title> +<para> + +Setup of the <filename>/etc/apt/sources.list</filename> and basic configuration +options is fully automated based on your installation method and answers to +earlier questions. Only the two variables below are relevant for preseeding. + +</para> + +<informalexample role="example"><screen> +# You can choose to install non-free and contrib software. +#d-i apt-setup/non-free boolean true +#d-i apt-setup/contrib boolean true + +# Do enable security updates. +d-i apt-setup/security-updates boolean true +</screen></informalexample> + + </sect2> + <sect2 id="preseed-account"> <title>Account setup</title> <para> @@ -705,6 +734,14 @@ of course that an alternate method is setup to allow administrative activities or root login (for instance by using SSH key authentication or sudo). +</para><para> + +An MD5 hash for a password can be generated using the following command. + +<informalexample><screen> +$ echo "r00tme" | mkpasswd -s -H MD5 +</screen></informalexample> + </para> </sect2> @@ -773,32 +810,6 @@ base-config base-config/login note </sect2> - <sect2 id="preseed-apt"> - <title>Apt setup</title> - -<informalexample role="example"><screen> -# This question controls what source the second stage installation uses -# for packages. Choices are cdrom, http, ftp, filesystem, edit sources list -# by hand -base-config apt-setup/uri_type select http - -# If you choose ftp or http, you'll be asked for a country and a mirror. -base-config apt-setup/country select enter information manually -base-config apt-setup/hostname string http.us.debian.org -base-config apt-setup/directory string /debian -# Stop after choosing one mirror. -base-config apt-setup/another boolean false - -# You can choose to install non-free and contrib software. -#base-config apt-setup/non-free boolean true -#base-config apt-setup/contrib boolean true - -# Do enable security updates. -base-config apt-setup/security-updates boolean true -</screen></informalexample> - - </sect2> - <sect2 id="preseed-tasksel"> <title>Package selection</title> <para> |