From 87f75863401fcc92c9182632274c1ec930bd401d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Fri, 4 Mar 2022 18:10:55 +0100 Subject: [PATCH] Ironic: Avoid setting deprecated pxe_append_params Set kernel_append_params instead. Change-Id: I4fb42d376636dc363cd86950ed37de4a3d28df73 --- ansible/roles/ironic/templates/ironic.conf.j2 | 2 +- .../notes/kernel_append_params-a162aaab2d0b8649.yaml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/kernel_append_params-a162aaab2d0b8649.yaml diff --git a/ansible/roles/ironic/templates/ironic.conf.j2 b/ansible/roles/ironic/templates/ironic.conf.j2 index 77bbc3f208..c4e2d9e923 100644 --- a/ansible/roles/ironic/templates/ironic.conf.j2 +++ b/ansible/roles/ironic/templates/ironic.conf.j2 @@ -182,7 +182,7 @@ deploy_logs_storage_backend = local deploy_logs_collect = always [pxe] -pxe_append_params = nofb nomodeset vga=normal console=tty0 console=ttyS0,{{ ironic_console_serial_speed }} +kernel_append_params = nofb nomodeset vga=normal console=tty0 console=ttyS0,{{ ironic_console_serial_speed }} {% if enable_ironic_ipxe | bool %} {# NOTE(mgoddard): iPXE uses the TFTP image cache (tftp_master_path, default /tftpboot/master_images), in which images get hard linked to the http_root diff --git a/releasenotes/notes/kernel_append_params-a162aaab2d0b8649.yaml b/releasenotes/notes/kernel_append_params-a162aaab2d0b8649.yaml new file mode 100644 index 0000000000..c69a8c72f0 --- /dev/null +++ b/releasenotes/notes/kernel_append_params-a162aaab2d0b8649.yaml @@ -0,0 +1,7 @@ +--- +upgrade: + - | + ``ironic.conf`` now sets ``[pxe]\kernel_append_params`` instead of + ``[pxe]\pxe_append_params`` which has been deprecated. + Please override the new config option if you are overriding the + old one.