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

Re: Manually setting hostname even when using preseed



On Fri, Jan 30, 2009 at 06:20:17PM -0200, Lucas Brasilino wrote:
> I'm using simple-cdd to make some custom preseeded images of Debian
> Etch and I'm running in a problem:
> I'd like to D-I ask for hostname. My netcfg/* section in preseed file
> was (the others are commented out):
> 
> ### Network configuration
> # netcfg will choose an interface that has link if possible. This makes it
> # skip displaying a list if there is more than one interface.
> d-i netcfg/choose_interface select auto
> d-i netcfg/get_hostname string foo
> d-i netcfg/get_domain string bar.org
> d-i netcfg/wireless_wep string
> 
> So I've commented out:
> 
> #d-i netcfg/get_hostname string foo
> #d-i netcfg/get_domain string bar.org
> 
> And it now sets hostname to 'unassigned'. AFAIK D-I should ask for
> hostname and domain....

that sounds like the value set in profiles/default.preseed.

are you editing profiles/default.preseed, or profiles/SOMEOTHERPROFILE.preseed?

you would need to comment it out in default.preseed at the very least.

live well,
  vagrant


Reply to: