Preconfiguring packages in FAI
Marc SCHAEFER
alphanet-linux-fai at alphanet.ch
Wed Nov 20 19:34:14 CET 2002
On Wed, 20 Nov 2002, Bruce Edge wrote:
> Here's what I use for populating the debconf database:
>
> #!/bin/bash
> . /usr/share/debconf/confmodule
> # Setup default locale, en_US
> db_set locales/default_environment_locale "Leave alone"
> db_set locales/locales_to_be_generated "en_US ISO-8859-1"
> db_fset locales/locales_to_be_generated seen true
> db_go
Will that work with `locales' ? There was a thread here about it where it
was shown that locales doesn't use debconf at first installation at all,
and the author said that debconf wasn't a registry.
The logical conclusion was that feeding config.dat was wrong, but that
making so that when a program asks questions through debconf, correct
answers are fed is the way to go.
Someone even implemented it.
More information about the linux-fai
mailing list