On Fri, Mar 18, 2016 at 08:42:00PM +0300, Andrei Borzenkov wrote:
> Network boot autoconfiguration sets default server to next server IP
> (siaddr) from BOOTP/DHCP reply, but manual configuration using net_bootp
> exports only server name. Unfortunately semantic of server name is not
> clearly defined. BOOTP RFC 951 defines it only for client request, and
> DHCP RFC 1541 only mentions it, without any implied usage. It looks like
> this field is mostly empty in server replies.
>
> Export next server IP as net_<interface>_server_ip variable. This allows
> grub configuration script to set $root/$prefix based on information obtained
> by net_bootp.
>
> Reported and tested by: Nikunj A Dadhania <[email protected]>
> Cc: [email protected]
>
> ---
>
> @Nikunj: cosmetic changes comparing with version you tested - no need to
> allocate small buffer dynamically.
>
> @Vladimir: I think this is useful; I will update networking documentation
> in followup patch.

Vladimir, Andrei, could you take care of it?

Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to