Merge "Add parameter IronicDefaultBootMode"

This commit is contained in:
Zuul 2021-09-22 02:37:05 +00:00 committed by Gerrit Code Review
commit 7329579bc2
2 changed files with 14 additions and 2 deletions

View File

@ -79,6 +79,12 @@ parameters:
images). Set to 'netboot' to make the instances boot from images). Set to 'netboot' to make the instances boot from
controllers using PXE/iPXE. controllers using PXE/iPXE.
type: string type: string
IronicDefaultBootMode:
default: 'bios'
description: Default boot mode to use when no boot mode is explicitly
requested in node's driver_info, capabilities or in the
"instance_info" configuration. One of 'bios' or 'uefi'.
type: string
IronicDefaultDeployInterface: IronicDefaultDeployInterface:
default: '' default: ''
description: Deploy interface implementation to use by default. Leave empty to description: Deploy interface implementation to use by default. Leave empty to
@ -391,6 +397,8 @@ outputs:
ironic::api::authtoken::interface: 'internal' ironic::api::authtoken::interface: 'internal'
- ironic::conductor::cleaning_disk_erase: {get_param: IronicCleaningDiskErase} - ironic::conductor::cleaning_disk_erase: {get_param: IronicCleaningDiskErase}
ironic::conductor::default_boot_option: {get_param: IronicDefaultBootOption} ironic::conductor::default_boot_option: {get_param: IronicDefaultBootOption}
ironic::conductor::default_boot_mode: {get_param: IronicDefaultBootMode}
ironic::drivers::ilo::default_boot_mode: {get_param: IronicDefaultBootMode}
ironic::conductor::automated_clean: {get_param: IronicAutomatedClean} ironic::conductor::automated_clean: {get_param: IronicAutomatedClean}
ironic::conductor::enabled_hardware_types: {get_param: IronicEnabledHardwareTypes} ironic::conductor::enabled_hardware_types: {get_param: IronicEnabledHardwareTypes}
ironic::conductor::force_power_state_during_sync: {get_param: IronicForcePowerStateDuringSync} ironic::conductor::force_power_state_during_sync: {get_param: IronicForcePowerStateDuringSync}
@ -439,8 +447,6 @@ outputs:
- 'always' - 'always'
- 'on_failure' - 'on_failure'
ironic::drivers::agent::image_download_source: {get_param: IronicImageDownloadSource} ironic::drivers::agent::image_download_source: {get_param: IronicImageDownloadSource}
# NOTE(emilien): ILO defaulting to UEFI does not match other drivers so bios is used.
ironic::drivers::ilo::default_boot_mode: 'bios'
ironic::drivers::interfaces::enabled_bios_interfaces: {get_param: IronicEnabledBiosInterfaces} ironic::drivers::interfaces::enabled_bios_interfaces: {get_param: IronicEnabledBiosInterfaces}
ironic::drivers::interfaces::enabled_boot_interfaces: {get_param: IronicEnabledBootInterfaces} ironic::drivers::interfaces::enabled_boot_interfaces: {get_param: IronicEnabledBootInterfaces}
ironic::drivers::interfaces::enabled_console_interfaces: {get_param: IronicEnabledConsoleInterfaces} ironic::drivers::interfaces::enabled_console_interfaces: {get_param: IronicEnabledConsoleInterfaces}

View File

@ -0,0 +1,6 @@
---
features:
- |
New configuration ``IronicDefaultBootMode`` allows to change the default
boot mode to use for bare metal instances. The default for now remains
``bios`` for legacy BIOS boot but may switch to ``uefi`` in the future.