Bug #26874
openProvision templates: pxe_kernel_options parameter is not rendered in the template
Description
Hi,
when deploying a centos o.s. in a host, the value in parameter pxe_kernel_options doesn't have any effect.
Thanks
Updated by Lukas Zapletal almost 5 years ago
- Status changed from New to Need more information
- Triaged changed from No to Yes
Hello, thanks for the report. Can you be more specific? This is actually a helper (macro) which for CentOS should render blacklist values:
Updated by Mario Abajo almost 5 years ago
Lukas Zapletal wrote:
Hello, thanks for the report. Can you be more specific? This is actually a helper (macro) which for CentOS should render blacklist values:
Hi Lukas,
Thank you for you time and sorry for the delay, as i commented in the pull request (https://github.com/theforeman/foreman/pull/6798), my intent was to inject extra parameters in the kernel at the installer boot process for a specific host, i assume that the correct way to do that (looking at the template) was probably using a parameter in the host called pxe_kernel_options, as you commented, i maybe wrong (anyway i didn't find any reference to this macro in the doc).
So from my point of view, if this macro wasn't intended for that, then the template lacks a variable/parameter to add this extra kernel params; other way i can't, for example, boot using a serial console without modifying the template.
Another point i would like to comment is that if this macro is intended to just redhat/centos/fedora operating systems is a bit confusing because it gives the idea of being more generic, IMHO.
Extra details are in the pull request link but i can copy here if needed.
Kind Regards,
Mario