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

Re: Manually setting hostname even when using preseed



Hi Vagrant:

>> 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.

Well.. I'm editing profiles/SOMEOTHERPROFILE.preseed....
So as you ask, I'll try copying
/usr/shared/simple-cdd/profiles/default.preseed to my profiles/ dir
and
comment out 'netcfg/get_hostname' and 'netcfg/get_domain' lines and
see if it works.

Thanks a lot.
Lucas Brasilino


Reply to: