Project

General

Profile

Actions

Bug #26874

open

Provision templates: pxe_kernel_options parameter is not rendered in the template

Added by Mario Abajo almost 5 years ago. Updated almost 5 years ago.

Status:
Need more information
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Hi,
when deploying a centos o.s. in a host, the value in parameter pxe_kernel_options doesn't have any effect.

Thanks

Actions #1

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:

https://github.com/theforeman/foreman/blob/ef1bbc264acfe0864bd24e7ce54e6b37dcda37ad/app/models/operatingsystems/redhat.rb#L47

Actions #2

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:

https://github.com/theforeman/foreman/blob/ef1bbc264acfe0864bd24e7ce54e6b37dcda37ad/app/models/operatingsystems/redhat.rb#L47

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

Actions

Also available in: Atom PDF