Bug 2215878

Summary: RFE: UEFI: add the possibility to install the system but not prioritize it for booting
Product: Red Hat Enterprise Linux 8 Reporter: Renaud Métrich <rmetrich>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team>
Severity: low Docs Contact:
Priority: low    
Version: 8.8CC: fhirtz, jstodola, sbarcomb
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-14 13:12:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 4 Steve Barcomb 2023-08-14 13:12:26 UTC
After reviewing the bug, engineering has declined this request due to it being a very narrow use case.  

It seems that our backline team found a workaround for the post section of kickstart and was documented in the customer support case:

%post --nochroot

# Current order is: RHEL,<rest>
ORDER=($(efibootmgr | awk -F ':' '$1 == "BootOrder" { print $2 }' | tr ',' ' '))

# New order will be: <rest>,RHEL
NEWORDER=(${ORDER[@]:1} ${ORDER[0]})

efibootmgr -o $(echo ${NEWORDER[@]} | tr ' ' ',')
%end


I am going to mark this CLOSED/WONTFIX. Please contact me directly if there is further interest in this issue.