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

Bug#276299: netcfg insists on confirming hostname and domainname



On Fri, Oct 15, 2004 at 04:52:24PM -0400, Joey Hess wrote:
> Rick_Thomas wrote:
> > The scenario that has a problem is where you are using preseeding for
> > everything *but* hostname and domainname.  You are getting host and
> > domain name from DHCP.
> > 
> > There should be some way to tell preseeding that you want it to trust
> > DHCP and use it for getting what can be gotten -- not to bother the user
> > unless some critical parameter can't be gotten from DHCP.
append

 netcfg/get_hostname=x netcfg/get_domain=x


> 
> The preseeding documentation explains how to do this.

People will get hit by #276726

May this can prevent that:
# diff -u installer/doc/manual/en/appendix/example-preseed.xml.svn
# installer/doc/manual/en/appendix/example-preseed.xml
--- installer/doc/manual/en/appendix/example-preseed.xml.svn
2004-10-15 23:39:01.000000000 +0000
+++ installer/doc/manual/en/appendix/example-preseed.xml
2004-10-15 23:39:50.000000000 +0000
@@ -86,8 +86,8 @@
 # Note that any hostname and domain names assigned from dhcp take
 # precidence over values set here. However, setting the values still
 # prevents the questions from being shown even if values come from
 # dhcp.
-d-i    netcfg/get_hostname     string unassigned-hostname
-d-i    netcfg/get_domain       string unassigned-domain
+d-i    netcfg/get_hostname     string x
+d-i    netcfg/get_domain       string x

 # Disable that annoying WEP key dialog.
 d-i    netcfg/wireless_wep     string


Cheers
Geert Stappers



Reply to: