Configure ironic to do UEFI boot by default

The current default boot mode of legacy BIOS is no longer appropriate.
It should only be used for systems which don't support UEFI (such as
Power) or systems with specific UEFI bugs which prevent UEFI boot
being used.

These exceptions can be handled by setting boot_mode:bios
on the node capabilities either during node import or configure.

Blueprint: whole-disk-default
Change-Id: Ie4ced42fc32ec89a2d26fda95d43809010955492
This commit is contained in:
Steve Baker 2021-08-24 10:19:29 +12:00
parent 087a703fe1
commit 3100829b94
1 changed files with 2 additions and 2 deletions

View File

@ -389,6 +389,8 @@ outputs:
ironic::api::authtoken::interface: 'internal'
- ironic::conductor::cleaning_disk_erase: {get_param: IronicCleaningDiskErase}
ironic::conductor::default_boot_option: {get_param: IronicDefaultBootOption}
ironic::conductor::default_boot_mode: 'uefi'
ironic::drivers::ilo::default_boot_mode: 'uefi'
ironic::conductor::automated_clean: {get_param: IronicAutomatedClean}
ironic::conductor::enabled_hardware_types: {get_param: IronicEnabledHardwareTypes}
ironic::conductor::force_power_state_during_sync: {get_param: IronicForcePowerStateDuringSync}
@ -437,8 +439,6 @@ outputs:
- 'always'
- 'on_failure'
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_boot_interfaces: {get_param: IronicEnabledBootInterfaces}
ironic::drivers::interfaces::enabled_console_interfaces: {get_param: IronicEnabledConsoleInterfaces}