[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to force d-i to ask for domain name?



On Wed, Nov 28, 2007 at 08:24:49PM +0100, Geert Stappers wrote:
> Op 26-11-2007 om 22:31 schreef Josef Wolf:

> > I have preseeded netcfg like this:
> > 
> >   d-i netcfg/disable_dhcp    boolean true
> >   d-i netcfg/confirm_static  boolean true
> >   d-i netcfg/get_ipaddress   string 192.168.1.1
> >   d-i netcfg/get_netmask     string 255.255.255.0
> >   d-i netcfg/get_gateway     string 192.168.1.1
> >   d-i netcfg/get_nameservers string 192.168.1.1
> >   d-i netcfg/get_hostname    string external-gw
> >   d-i netcfg/get_domainname  seen false
> > 
> > The intention is, that d-i asks me for the domainname.  AFAIR, This worked
> > as expected back in sarge days.  But now it don't ask anymore.  Any ideas
> > what I have messed up here?
> 
> You might be doing something that could be solved in another way.
> Could you tell more about your use case?

Thanks for the answer, Geert.

I want to create a customized install cd, which is to be used to install
routers/firewalls.  The router should have a fixed hostname (external-gw).
The internal interface (eth0) should get a static address (192.168.1.1).
Since this CD is to be used for multiple sites, the domain name part
should be asked by d-i at installation time and _not_ be preseeded.  

The above definition works almost as desired.  The only thing is that d-i
don't ask for the domain name, although I set the "seen" flag on the
netcfg/get_domainname variable.



Reply to: