diff --git a/playbooks/roles/bifrost-ironic-install/defaults/main.yml b/playbooks/roles/bifrost-ironic-install/defaults/main.yml index 0650c5974..561f8d9fc 100644 --- a/playbooks/roles/bifrost-ironic-install/defaults/main.yml +++ b/playbooks/roles/bifrost-ironic-install/defaults/main.yml @@ -396,3 +396,4 @@ pxe_kernel_params: >- {% endif %} {{ extra_kernel_options | default('') }} redfish_kernel_params: "{{ pxe_kernel_params }}" +ilo_kernel_params: "{{ pxe_kernel_params }}" diff --git a/playbooks/roles/bifrost-ironic-install/templates/ironic.conf.j2 b/playbooks/roles/bifrost-ironic-install/templates/ironic.conf.j2 index c91f49935..84725be0d 100644 --- a/playbooks/roles/bifrost-ironic-install/templates/ironic.conf.j2 +++ b/playbooks/roles/bifrost-ironic-install/templates/ironic.conf.j2 @@ -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 }} diff --git a/releasenotes/notes/kernel-params-b8f054bd75390baa.yaml b/releasenotes/notes/kernel-params-b8f054bd75390baa.yaml new file mode 100644 index 000000000..1a4e25060 --- /dev/null +++ b/releasenotes/notes/kernel-params-b8f054bd75390baa.yaml @@ -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.