Bug 760691 - RFE: Add netboot method detection to kickstart post and inventory scripts
Summary: RFE: Add netboot method detection to kickstart post and inventory scripts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: lab controller
Version: 0.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-06 19:14 UTC by Matt Brodeur
Modified: 2019-05-22 13:42 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-26 06:41:03 UTC


Attachments (Terms of Use)

Description Matt Brodeur 2011-12-06 19:14:23 UTC
In order to populate inventory with the network boot method in use, we need to pass a flag through from the network bootloader to the installed system.  See this ticket for background:
https://engineering.redhat.com/rt/Ticket/Display.html?id=126993

The best idea I've had is to set a flag on the kernel command line from within the cobbler pxe/efi/yaboot/whatever template.  A kickstart %post process could check kernel options for the flag, and drop something in a file on the installed system.  The inventory script would check for that file, and set the Key/Value appropriately.

The only thing we've implemented so far is that the Key is "NETBOOT_METHOD".

We can add the flags to the cobbler templates as a local change, so it's the flag detection and inventory script pieces we'll need done.

The kernel option name needs to be short, meaningful, and not conflict with existing kernel or anaconda options.  Ideas?

Comment 1 Bill Peck 2012-03-26 18:11:43 UTC
Why can't we just use NETBOOT_METHOD in the template file?

Pushing to 0.8.3.  We really need the template to be filled out before I can go any further.

Comment 2 Bill Peck 2012-05-04 19:13:10 UTC
0.9.0 is the next release.

Comment 4 Bill Peck 2012-05-10 18:53:02 UTC
http://gerrit.beaker-project.org/#/c/1054/1

Comment 7 Dan Callaghan 2012-06-26 06:41:03 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.