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>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.3CC: raravind
Target Milestone: rcKeywords: FutureFeature
Target Release: 8.0   
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.