I'm interested in a list of all Debian and Ubuntu preseed options, more specifically preseed options for Debian. I have seen the preseed example text for Jessie, but I have no way to list all available "netcfg/*" options, for example.

Is there a manual or index somewhere?

I've never seen such a comprehensive guide/manual/index other than example-preseed.cfg in the official documents. Therefore it's my usual way to look into sources of Debian Installer components in order to learn details of debconf parameter meanings and d-i behaviors.

For netcfg you can see *.templates files in debian dir to get complete info on valid debconf parameters and docs. Then read sources and docs in top dir to understand its usage in detail.

Debian Installer Internals would help you to grasp overview of the d-i process.

  • Awesome! Thank you! One last question. I tried s/netcfg/partman on the netcfg url you provided to see if I could find documentation on the other options (partman, tasksel, etc) but I ended up here: sources.debian.net/src/partman/63/debian/partman.templates (the only partman dir available) which looks like it's for sarge. Any thoughts on finding the more recent partman(et al).templates for jessie? Thanks again!! – cat pants Jun 15 '15 at 1:43
  • partman was divided into several sub packages, partman-base and others. On building d-i, packages are retrieved based on pkg-lists and each package's dependency (Depends: in debian/control). You can find possible packages here and there. Good luck! – yaegashi Jun 15 '15 at 4:34

Like yaegashi said, there is no manual containing a full list.

What I prefer to do is run debian-installer with the kernel command line parameter DEBCONF_DEBUG=5. If you do this and then run the installer with preseeding enabled, then debconf will log with some verbosity what questions it's asking and the answers you're getting.

With that, you configure preseeding based on what's in the example preseed file, and then every time you get a question that you didn't preseed, you can switch to tty4 and check out what the template is.

  • Praise be to all the gods ever conceived by the wit of man. And you, as well. THANK YOU. – Teekin Jun 12 at 18:29

You can get these, with defaults, from an installed system:

debconf-get-selections --installer

  • On Ubuntu, I got nothing with that command, but got everything I needed with debconf-get-selections. So thanks. :) – Teekin Jul 7 at 11:08
  • You may need to install debconf-tools to get the selections, and you may need to run with sudo to read some of the debconf answer databases. – dragon788 Sep 20 at 1:33

Charles Plessy wrote a Haskell program that parses debian-installer templates and generates a single HTML page with question titles, texts, answer types, and default values. This page is extremely useful when creating preseed files. Details in this discussion.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.