Hide Forgot
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.
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());
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.
Updated the wiki - https://fedoraproject.org/wiki/Anaconda/Kickstart#HTTP_Headers