[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Obtaining the MAC address of the boot NIC for a PXE boot
From: |
Andrey Borzenkov |
Subject: |
Re: Obtaining the MAC address of the boot NIC for a PXE boot |
Date: |
Wed, 8 May 2013 23:25:29 +0400 |
В Wed, 8 May 2013 10:27:47 -0700 (PDT)
Rigoberto Corujo <address@hidden> пишет:
>
> Thank you very much, Andrey. This worked. I did have to add the following
> lines to "grub-core/Makefile.core.am" to get a "eval.mod" generated, but I'm
> sure that it's probably because I missed an important step that would have
> automatically generated it.
>
In the meantime Vladimir pushed different implementation that provides
net_default_mac:
`net_default_interface'
Initially set to name of network interface that was used to load
grub. Read-write, although setting it affects only interpretation
of `net_default_ip' and `net_default_mac'
`net_default_ip'
The IP address of default interface. Read-only. This is alias for
the `net_${net_default_interface}_ip'.
`net_default_mac'
The default interface's MAC address. Read-only. This is alias
for the `net_${net_default_interface}_mac'.
Could you verify that it works for you? Also if you would comment on
documentation in Network section from user's perspective.