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

Bug#267838: netcfg: DHCP installer -> STATIC target



This wishlist bug seems like a pretty small corner case. First let
me restate it to make sure I understand correctly.

 You want d-i to do a dhcp request but then use the answers to
 define a static config.

Does that sound right? I guess I can understand wanting to do that,
maybe you don't want to depend on the dhcp server being up all the
time. But if implemented in the way you mention "Do you want to use
the dynamic answers you received as static values?" seems like a
violation of the nature of DHCP and would hurt more users than it would
possibly help.

I have a similar use case, I want to use a throw away dhcp assigned
address during boot and to load the preseed, but then I want to switch
to a static config. I use the preseed_run script idea documented in
the d-i manual to cause netcfg to rerun. Then later in the preseed
I define the network parameters.

http://d-i.alioth.debian.org/manual/en.amd64/apbs04.html#preseed-network

This could work for your case, but normally this would then mean you
would need one preseed per system, but maybe you could use the
early_command or include_command functions to save the dhcp answers
and set them?

http://d-i.alioth.debian.org/manual/en.amd64/apbs05.html#preseed-hooks

I think this bug might be wontfix.

--  
Matt Taggart
taggart@debian.org



Reply to: