summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorDmitry Tantsur <dtantsur@protonmail.com>2021-05-17 15:18:55 +0200
committerDmitry Tantsur <dtantsur@protonmail.com>2021-05-17 16:12:30 +0200
commit2a73f5a84e06b370d0b04997cc0787497e111642 (patch)
tree4d3f0fcb9a4bebea1b09fdb33b499f3183d9f9ed /devstack
parentaf94a3da1e3f66c70309bbb889c68dfc5bd67e9f (diff)
downloadironic-2a73f5a84e06b370d0b04997cc0787497e111642.tar.gz
Clean up kernel_append_params for PXE/iPXE
Currently handling of kernel_append_params is very inconsistent. This change applies a straightforward process: 1. instance_info[kernel_append_params] 2. driver_info[kernel_append_params] 3. [pxe]kernel_append_params (renamed from pxe_append_params). Also adds a helper for subsequent fixes in other drivers. Change-Id: I79bcf4d8ef1f0f55a82e0991dd5bb1685b3f7957 Story: #2008902 Task: #42469
Diffstat (limited to 'devstack')
-rw-r--r--devstack/lib/ironic2
1 files changed, 1 insertions, 1 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index e6aa8d865..ebe77cc57 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -1717,7 +1717,7 @@ function configure_ironic_conductor {
pxe_params+=" $IRONIC_EXTRA_PXE_PARAMS"
if [[ -n "$pxe_params" ]]; then
- iniset $IRONIC_CONF_FILE pxe pxe_append_params "$pxe_params"
+ iniset $IRONIC_CONF_FILE pxe kernel_append_params "$pxe_params"
fi
local kernel_append_params="nofb nomodeset console=${IRONIC_TTY_DEV}"