Bug 820328 - RHEL7 ppc changes boot order
Summary: RHEL7 ppc changes boot order
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: lab controller
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-09 16:15 UTC by Bill Peck
Modified: 2019-05-22 13:41 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 824801 (view as bug list)
Environment:
Last Closed: 2012-06-26 06:41:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Bill Peck 2012-05-09 16:15:53 UTC
Description of problem:

RHEL7 ppc install changes boot order so that subsequent installs will fail because it won't boot from the network anymore.

Version-Release number of selected component (if applicable):
0.8.2

How reproducible:
Everytime you install RHEL7 on ppc

Comment 1 andrew 2012-05-09 16:23:02 UTC
Current work around is in the Job XML to add the following
<ks_append>
<![CDATA[

%pre --interpreter /bin/bash
#!/bin/bash
nvram --print-config=boot-device > /mnt/sysimage/root/boot-device.bak
%end
           
%post --interpreter /bin/bash
#!/bin/bash
if [ -e /root/boot-device.bak ]; then
nvsetenv boot-device "$(cat /root/boot-device.bak)"
logger "Read boot-device.bak from /root"
else
logger "Error: /root/boot-device.bak does not exist!"
%end  
    										]]>	</ks_append>

This will capture the boot device order and then re-set the boot order to what was captured.

Comment 2 Bill Peck 2012-05-11 18:56:53 UTC
pushed to gerrit for review

http://gerrit.beaker-project.org/#/c/1059/1

Comment 5 Dan Callaghan 2012-06-26 06:41:28 UTC
Beaker 0.9.0 has been released.


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