Make boot_interface customisable

This change adds a boot_interface variable to baremtal group_vars to
provide the user with a simple way of specifying boot_interface for node
enrollment.

Change-Id: Ic23dad7a0371c1cc68aa5f870225d6301ed4ed8e
This commit is contained in:
Jacob Anders 2024-05-02 18:06:51 +10:00
parent b47833ca9e
commit 0b8547d7d9
3 changed files with 14 additions and 0 deletions

View File

@ -49,3 +49,11 @@ testing_user: root
# failed. Change wait_for_node_deploy to true to cause bifrost to wait for
# Ironic to show the instance in Active state.
wait_for_node_deploy: false
# In deployments that use PXE boot and not virtual media, it is common to
# set boot_interface to ipxe by default, however the value of this parameter
# depends on the driver being used. While working on virtual media based
# deployments it may be desirable to give the user an easy way of using
# options such as 59 # boot_interface: redfish-virtual-media or
# idrac-redfish-virtual-media - adding a commented-out value for those cases.
# boot_interface: redfish-virtual-media

View File

@ -28,6 +28,7 @@
auth_type: "{{ auth_type | default(omit) }}"
auth: "{{ auth | default(omit) }}"
ca_cert: "{{ tls_certificate_path | default(omit) }}"
boot_interface: "{{ boot_interface | default(omit) }}"
driver: "{{ driver }}"
uuid: "{{ uuid | default() }}"
name: "{{ name | default() }}"

View File

@ -0,0 +1,5 @@
---
features:
- |
Makes boot_interface customisable. This is used in dynamic enrollment of
baremetal node.