Replace pxe_append_params with kernel_pxe_params in ironic.conf

Ironic has replaced deprecated pxe_append_params config option
with kernel_pxe_params. The ironic.conf template has been changed
accordingly, but support remains for config override
ironic_pxe_append_params.

Change-Id: Icedd2b8f0e81607caba93afd34557bd4c3a88b4d
This commit is contained in:
James Denton 2022-09-08 19:46:59 -05:00
parent b4161545b3
commit 90d0204a43
3 changed files with 10 additions and 2 deletions

View File

@ -303,7 +303,7 @@ ironic_policy_overrides: {}
ironic_api_uwsgi_ini_overrides: {}
# pxe boot
ironic_pxe_append_params: "ipa-debug=1 systemd.journald.forward_to_console=yes"
ironic_kernel_append_params: "ipa-debug=1 systemd.journald.forward_to_console=yes"
ironic_api_init_config_overrides: {}
ironic_conductor_init_config_overrides: {}

View File

@ -0,0 +1,8 @@
---
deprecations:
- |
The `pxe_append_params` configuration option has been deprecated by
Ironic and replaced with `kernel_append_params`. The corresponding
configuration override, `ironic_pxe_append_params`, has been replaced
by `ironic_kernel_append_params` but will continue to be supported
until a future undetermined release.

View File

@ -203,7 +203,7 @@ uefi_pxe_config_template = $pybasedir/drivers/modules/ipxe_config.template
{% endif %}
tftp_server = {{ ironic_tftp_server_address }}
pxe_append_params = {{ ironic_pxe_append_params }}
kernel_append_params = {{ ironic_pxe_append_params | default(ironic_kernel_append_params) }}
tftp_root = {{ ironic_tftpd_root }}
tftp_master_path = {{ ironic_tftpd_root }}/master_images