[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#826844: netcfg ignoring BOOTF= in kernel cmdline



Hi Philipp,

Thanks for your response. Yeah I actually figured that out after looking looking at the netcfg code and seeing the "01-" being purposefully excluded from the address capture. So then I looked up the specification for PXELINUX and saw the hardware type at the start.

So, I've just hardcoded (eww) a "01-" before the ${netX/mac} in the iPXE config.

Thanks for the answer! And sorry for not updating this sooner. This can probably be closed as a non-issue, but not sure if it's worth while adding a comment to the code, or something.

Regards,
James

On Mon, Oct 24, 2016 at 9:48 AM, Philipp Kern <pkern@debian.org> wrote:
On 06/09/2016 01:11 PM, James Mackie wrote:
> This is me checking /proc/cmdline:
> ~ # cat /proc/cmdline
> auto=true priority=critical url="" href="http://thebooting.dev2.internal/preseed" rel="noreferrer" target="_blank">http://thebooting.dev2.internal/preseed
> interface=auto DEBCONF_DEBUG=5 BOOTIF=0c:c4:7a:8e:ad:4a

BOOTIF= is generated by PXELINUX, which also prepends a hardware type.
(That's its defined interface.)

Completely from memory you might want to try 01-0c-c4-7a-8e-ad-4a for
the BOOTIF.

Kind regards
Philipp Kern



Reply to: