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

Bug#563819: installation-guide: Please add netcfg/dhcp_use to preseed example



On 07/01/10 08:48, Javier Barroso wrote:
Hello,
On 06/01/10 20:33, Frans Pop wrote:
On Tuesday 05 January 2010, Javier Barroso wrote:
If you want don't be asked in network config about manual / dhcp
configuration, you need netcfg/dhcp_use to true, but it doesn't appear
in the example.
It is not documented because preseeding is normally done while running with
debconf priority critical, or maybe high. But this question only gets
asked at medium priority so there is normally no need to preseed it.

There are many, many more questions that only get asked at medium or low
priority that are also not documented.

The correct template to preseed to choose between dhcp and static network
configuration is netcfg/disable_dhcp.
Including in preseed.cfg:

d-i netcfg/disable_dhcp string false

won't stop debian-installer asking about Auto-configure Network with DHCP question.

but netcfg/use_dhcp does the trick.

Do I have to combine disable_dhcp with another option ?

My environment (grep netcfg preseed.cfg) is:
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string pxe
d-i netcfg/get_domain string red.isotrol.com
# d-i netcfg/use_dhcp string true
d-i netcfg/disable_dhcp string false
d-i netcfg/dhcp_options select Retry network autoconfiguration
Ok, you are right again, sorry ...

My problem was I had priority=low in my APPEND line

Thank you very much and sorry your waste time.




Reply to: