Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1917746

Summary: [RFE] Need for net_default_interface and net_default_mac vars in EFI mode
Product: Red Hat Enterprise Linux 8 Reporter: Christophe Besson <cbesson>
Component: grub2Assignee: Bootloader engineering team <bootloader-eng-team>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.3CC: raravind
Target Milestone: rcKeywords: FutureFeature
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-25 12:18:19 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.