Bug#497285: not possible to preseed that no gatway should be used?
On Sunday 31 August 2008, Martin Michlmayr wrote:
> This sets netcfg/get_gateway to the calculated gateway if
> netcfg/get_gateway is empty. So when you preseed an empty value, the
> calculated gateway will be used.
>
> Wouldn't it make sense to check if the seen flag is set?
That would conflict with the option to preseed a value but still have the
question asked.
Having a question preseeded does NOT automatically mean that the seen flag
is set. Having a question asked does NOT automatically mean that it's not
been preseeded.
If more distinction is wanted I think the only way to do it is to use some
special value that indicates to netcfg "please calculate a default".
IMO that would be a post-lenny change though.
Reply to: