Differences between revisions 71 and 72
Revision 71 as of 2006-08-03 15:17:00
Size: 3245
Editor: ?FilipVanRaemdonck
Comment:
Revision 72 as of 2007-01-24 04:29:20
Size: 3242
Editor: ?FransPop
Comment: Link to appendix on preseeding in installation guide
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Most of the questions asked by DebianInstaller can be preseeded by setting the answers in the debconf database. This can be used to do automatic installs. The installation manual explains how to set up preseeding: http://d-i.alioth.debian.org/manual/en.i386/ch04s07.html#automatic-install
and includes a complete
example. Feel free to add any information that is not
covered in the manual to the notes below.
Most of the questions asked by DebianInstaller can be preseeded by setting the answers in the debconf database. This can be used to do automatic installs. The Installation Guide includes an [http://d-i.alioth.debian.org/manual/en.i386/apb.html extensive appendix] dedicated to preseeding and includes a complete example. Feel free to add any information that is not covered in the manual to the notes below.

Preseeding d-i

Most of the questions asked by DebianInstaller can be preseeded by setting the answers in the debconf database. This can be used to do automatic installs. The Installation Guide includes an [http://d-i.alioth.debian.org/manual/en.i386/apb.html extensive appendix] dedicated to preseeding and includes a complete example. Feel free to add any information that is not covered in the manual to the notes below.

Examples

Post here any links you have to example preseed files. Note that using any of these files directly is not wise, as a malicious person could probably come up with values for a preseed file that makes d-i misbehave. Also, the files are downloaded over http, so are vulnerable to man in the middle spoof attacks. The best way to use any preseed file is to copy it to your own local web server or media, and look it over before using it.

Notes

  • Do not work off a debconf-get-selections (--installer) generated preseed.cfg but get the values from it and modify the exmple preseed file with them.
  • Be aware there is only one space in preseed files between subkey and value on "owner key/subkey value" lines.
  • Do not reboot in the base-config/late_command command, the installation process will start again at the start of the 2nd stage.
  • Preseeding has changed significantly in etch, preseed files for sarge will need to be updated or re-done. The largest change is the removal of base-config, which means that base-config/late_command and base-config/early_command are no longer available.
  • To install additional packages in etch, you can preseed preseed/early_command to run "apt-install package"