Bug 700180 - [RFE] kickstart option to pass current arch
Summary: [RFE] kickstart option to pass current arch
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 14
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-27 16:48 UTC by jcpunk
Modified: 2011-05-03 17:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-03 17:40:24 UTC
Type: ---


Attachments (Terms of Use)

Description jcpunk 2011-04-27 16:48:02 UTC
Description of problem:
Currently there is a way to pass (as http headers) the mac address and system serial number.  It would be nice to also be able to pass the arch being installed.  This way systems that can take either x86 or x86_64 can identify which version they are installing to a web app that can appropriately build the kickstart install path.

This feature is of particular interest to me as my site requires a standard configuration for all installed systems, but different groups require different architectures.  Some of our 3rd party apps require 32-bit others suggest 64-bit.  Other than the arch, my kickstart files are 100% identical.

It would be nice to be able to use just one kickstart file for all of my systems, rather than several with a one line difference.

Since url is processed before %pre, I can't seem to hack this in.

Comment 1 Chris Lumens 2011-04-28 13:02:15 UTC
We should already be doing this.  Do you see the following headers:

    checked_asprintf(&extraHeaders[0], "X-Anaconda-Architecture: %s", getProductArch());
    checked_asprintf(&extraHeaders[1], "X-Anaconda-System-Release: %s", getProductName());

Comment 2 jcpunk 2011-04-29 14:01:20 UTC
I do indeed!

I wasn't able to find a reference to this feature in the documentation.  May I request that it be added to the Fedora Kickstart documentation?

Sorry for the bother.

Comment 3 Brian Lane 2011-05-03 17:40:24 UTC
Updated the wiki - https://fedoraproject.org/wiki/Anaconda/Kickstart#HTTP_Headers


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