summaryrefslogtreecommitdiff
path: root/ironic/drivers/irmc.py
diff options
context:
space:
mode:
authorVanou Ishii <ishii.vanou@fujitsu.com>2022-10-25 04:09:46 -0400
committerVanou Ishii <ishii.vanou@fujitsu.com>2022-11-06 21:55:58 -0500
commit2200f931de0d2515397781a8c7db66c636d2b297 (patch)
treec37bd097b3c5001966f5eed2470aa2389cfa90e6 /ironic/drivers/irmc.py
parentd930dcd322aec436f93c818746c65d5c204d2f56 (diff)
downloadironic-2200f931de0d2515397781a8c7db66c636d2b297.tar.gz
Change boot_interface order of iRMC driver
This change aligns the boot interface order of the irmc hardware type to match the other hardware type interface order lists. This change is a result of an operator reporting inconsistent behavior of ironic when they are adding nodes using the irmc hardware type, where they would default to use the "irmc-pxe" boot interface, where as the other interfaces would end up defaulting to "ipxe". Change-Id: I017c6560f9de884eefb2c1925321380cc1c721e2
Diffstat (limited to 'ironic/drivers/irmc.py')
-rw-r--r--ironic/drivers/irmc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ironic/drivers/irmc.py b/ironic/drivers/irmc.py
index f3c2d7c65..50bb9114d 100644
--- a/ironic/drivers/irmc.py
+++ b/ironic/drivers/irmc.py
@@ -48,8 +48,8 @@ class IRMCHardware(generic.GenericHardware):
"""List of supported boot interfaces."""
# NOTE: Support for pxe boot is deprecated, and will be
# removed from the list in the future.
- return [boot.IRMCVirtualMediaBoot, boot.IRMCPXEBoot,
- ipxe.iPXEBoot, pxe.PXEBoot]
+ return [boot.IRMCVirtualMediaBoot, ipxe.iPXEBoot,
+ boot.IRMCPXEBoot, pxe.PXEBoot]
@property
def supported_console_interfaces(self):