--- Begin Message ---
Package: installation-guide
Severity: minor
Tags: patch
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.
I think this patch could be fine.
Thanks
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- example-preseed.txt 2010-01-05 16:32:20.000000000 +0100
+++ example-preseed.txt.orig 2010-01-05 16:31:19.000000000 +0100
@@ -17,9 +17,6 @@
# To pick a particular interface instead:
#d-i netcfg/choose_interface select eth1
-# If you want to use dhcp and never manual network config
-#d-i netcfg/dhcp_use string true
-
# If you have a slow dhcp server and the installer times out waiting for
# it, this might be useful.
#d-i netcfg/dhcp_timeout string 60
--- End Message ---
--- Begin Message ---
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.
> I think this patch could be fine.
Well, to be honest the patch is quite sloppy:
- it is reversed
- the name of the template is incorrect (correct name is use_dhcp)
I'm closing this report as IMO there is no reason to document this
template. You are of course free to reply if you disagree, but you'll need
to explain in a lot more detail in which situation it would be needed.
Cheers,
FJP
--- End Message ---