Clean up kernel params

1) To not duplicate ipa-insecure in [inspector]extra_kernel_params
2) Add missing ilo_kernel_params

Change-Id: I6f09efb2cfd8c370304bf1342984a8a07fc6d1fd
This commit is contained in:
Dmitry Tantsur 2021-06-11 14:55:36 +02:00
parent c4ee8e5d77
commit 5ceb5160b9
3 changed files with 12 additions and 1 deletions

View File

@ -396,3 +396,4 @@ pxe_kernel_params: >-
{% endif %}
{{ extra_kernel_options | default('') }}
redfish_kernel_params: "{{ pxe_kernel_params }}"
ilo_kernel_params: "{{ pxe_kernel_params }}"

View File

@ -115,6 +115,7 @@ allow_credentials = {{ enable_cors_credential_support | default('true') }}
[ilo]
use_web_server_for_images = true
kernel_append_params = {{ ilo_kernel_params }}
[redfish]
use_swift = False
@ -123,7 +124,7 @@ kernel_append_params = {{ redfish_kernel_params }}
{% if enable_inspector | bool == true %}
[inspector]
power_off = {{ power_off_after_inspection }}
extra_kernel_params = ipa-insecure=1 {{ inspector_extra_kernel_options | default('') }}
extra_kernel_params = {{ inspector_extra_kernel_options | default('') }}
{% if enable_keystone | bool %}
auth_type = password
auth_url = {{ ironic.service_catalog.auth_url }}

View File

@ -0,0 +1,9 @@
---
features:
- |
Kernel parameters for the ``ilo-virtual-media`` boot interface can now
be set via the new ``ilo_kernel_params`` variable.
fixes:
- |
Adds the require default kernel parameters for the ``ilo-virtual-media``
boot interface.