Preconfiguring packages in FAI
Bruce Edge
bedge at troikanetworks.com
Wed Nov 20 18:08:42 CET 2002
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
-Bruce
> -----Original Message-----
> From: ole.schistad at zonavi.com [mailto:ole.schistad at zonavi.com]
> Sent: Wednesday, November 20, 2002 4:06 AM
> To: linux-fai at uni-koeln.de
> Subject: Preconfiguring packages in FAI
>
>
> I've seen references to pre-populating debconf in the FAI
> list but no proper explanation of the procedure. What I'm
> looking for is a way to automate those packages that require
> manual input at installation (such as locales) in such a way
> that the system is 100% configured when FAI is done and no
> packages need to be configured in dselect (or dpkg-reconfigure).
>
> What I did with the locales package was to include it in
> package_config/LOCALES and then write a shellscript which
> writes the /etc/locale.gen file and runs locale-gen. IMHO
> this is not the optimal solution to the problem though, a
> better way would be to somehow provide a preconfiguration to
> debconf and avoid having a custom script for each and every package.
>
> Anyone know how this can be achieved?
>
>
> Regards,
>
> Ole Andre Schistad
> Systems Manager, Zonavi AS
>
>
More information about the linux-fai
mailing list