Bug 1917746 - [RFE] Need for net_default_interface and net_default_mac vars in EFI mode
Summary: [RFE] Need for net_default_interface and net_default_mac vars in EFI mode
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: grub2
Version: 8.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.0
Assignee: Bootloader engineering team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-19 10:19 UTC by Christophe Besson
Modified: 2023-07-25 12:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-25 12:18:19 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Christophe Besson 2021-01-19 10:19:20 UTC
Description of problem:
Previously, customer used PXElinux/syslinux for netbooting with BIOS FW, and used the "IPAPPEND 2" directive in order to add BOOTIF=@MAC into the cmdline.

With UEFI and Grub2, they can append BOOTIF=$net_efinet0_mac, but this is not as dynamic as for the BIOS, since it won't work if the netboot happens on the 2nd interface. If I didn't miss an alternative, could it be feasible to implement some vars available in BIOS mode like $net_default_interface and $net_default_mac with the UEFI FW network functions?

Version-Release number of selected component (if applicable):
grub2-efi-x64-2.02-90.el8.x86_64

How reproducible:
100% in the customer env.

Comment 1 raravind 2023-05-17 12:11:28 UTC
Christophe,

For RHEL 8, the current guidance is to minimize new features as we are winding down development for that release: https://lists.corp.redhat.com/archives/rhel-announce/2023-February/000071.html 
If this is something adequately supported by RHEL 9's grub, our recommendation would be to use RHEL 9.


Note You need to log in before you can comment on or make changes to this bug.