GNU GRUB - Bugs: bug #65152, Documentation on format of netboot...
You are not allowed to post comments on this tracker with your current authentication level.
bug #65152: Documentation on format of netboot grub.cfg file name with MAC address is incorrect
Submitter: | Patrick Zingerle <zinga> | ||
Submitted: | Fri 12 Jan 2024 02:02:17 PM UTC | ||
Category: | Network | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Documentation |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Open | Release: | 1.99 |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
Powered by Savane 3.13-02a9.
Corresponding source code
Currently the documentation at https://www.gnu.org/software/grub/manual/grub/grub.html#Network says that the file name format of a grub.cfg to match a client machine via its MAC address is
with an example for
giving
but using this file name pattern doesn't work in my setup (instead the default grub.cfg gets loaded).
When adding -01 before the MAC address, i.e. using the format
which would give
in the example, then the machine specific config gets loaded for the corresponding MAC address/machine as expected.
A quick glance at the source code at https://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/net/net.c#n1952 and the commit message of cb2f15c544895e1f3d540dd39d36c4611bdf5b7b stating
This procedure is similar to what is used by pxelinux...
(and pxelinux also uses a format 01-‘(MAC ADDRESS OF NIC)’) this hints to me that the documentation is incorrect.