Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: Josef Wolf <jw(at)raven.inka.de>
Date: Wed Nov 28 2007 - 16:38:51 EST


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.

-- 
To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Wed Nov 28 16:41:08 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:34:07 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library