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

Bug#688273: Preseed netcfg/use_autoconfig and netcfg/disable_dhcp doesn't work



On Sat 22 Sep 2012 at 01:41:44 +0200, Philipp Kern wrote:

> Hi,
> 
> On Fri, Sep 21, 2012 at 11:01:52AM +0800, YunQiang Su wrote:
> > I preseed like the fellow,
> > 
> > d-i netcfg/use_autoconfig boolean false
> > d-i netcfg/disable_dhcp boolean true
> > 
> > But it still try dhcp first.
> 
> could you try this, please?
> 
> d-i netcfg/disable_autoconfig boolean true

As the only line in preseed.cfg

   d-i netcfg/disable_autoconfig boolean true

give a screen with 'no' highlighted.

Having the two lines

   d-i netcfg/disable_autoconfig boolean true
   d-i netcfg/use_autoconfig boolean false

moves d-i on to static configuration. I usually rely on the templates
file for preconfiguration parameters so would not have been aware of
disable_autoconfig. Also, advice on the web does not mention using it
in conjunction with use_autoconfig.

The kernel command line

   netcfg/disable_autoconfig boolean=true netcfg/use_autoconfig boolean=false

also works.

Regards,

Brian.


Reply to: