New variables 'net_default_*' to determine MAC/IP of default interface.
This commit is contained in:
parent
43fe02cbaf
commit
2aa072d76a
3 changed files with 75 additions and 1 deletions
|
@ -211,6 +211,9 @@ grub_net_configure_by_dhcp_ack (const char *name,
|
|||
grub_print_error ();
|
||||
}
|
||||
|
||||
if (is_def)
|
||||
grub_env_set ("net_default_interface", name);
|
||||
|
||||
if (device && !*device && bp->server_ip)
|
||||
{
|
||||
*device = grub_xasprintf ("tftp,%d.%d.%d.%d",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue