debconf

Ingo Wichmann iw at linuxhotel.de
Mon Mar 20 21:19:32 CET 2006


Michael Tautschnig wrote:

>> Ok, this is at best tangential on this list...  anyway: anybody has already 
>> written the script to extract all non-default debconf values from a 
>> system's debconf database?  I don't want to preseed the fai installations 
>> with all default values - and looking through the database of my (manually 
>> set up reference workstation) manually, trying to filter out all the 
>> default entries is sorta tedious...
>>
> 
> I'm not sure whether this is possible at all!? One could possibly extract some
> of the defaults from /var/cache/debconf/templates.dat, but probably not all of
> the entries contain defaults.
> 
> Does somebody know of any other means to obtain the defaults?

I once hacked /usr/bin/debconf-get-selections from the package 
debconf-utils to get these entries, but i don't have the modified 
version anymore ... OK, i've attached a version which may do what you 
want ... i did not test it.

Ingo

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debconf-get-seen-selections
Url: http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20060320/e2cfc708/attachment.bat 


More information about the linux-fai mailing list