diff options
author | Zuul <zuul@review.opendev.org> | 2022-11-25 16:32:42 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-11-25 16:32:42 +0000 |
commit | c04344ca605f919a280a256e347db2bd8a08f2e1 (patch) | |
tree | 21efe66d448f9a600df3c8dbfec09222ecb186cd /ironic/drivers | |
parent | aa379e7c49510ba6bf5da5a0dc8f8a6719837cea (diff) | |
parent | 071cf9b2dd2233509c3cdb8261c0ee7b391e6b2c (diff) | |
download | ironic-c04344ca605f919a280a256e347db2bd8a08f2e1.tar.gz |
Merge "Align iRMC driver with Ironic's default boot_mode"
Diffstat (limited to 'ironic/drivers')
-rw-r--r-- | ironic/drivers/modules/irmc/management.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ironic/drivers/modules/irmc/management.py b/ironic/drivers/modules/irmc/management.py index 079ae9e44..7f480fd4b 100644 --- a/ironic/drivers/modules/irmc/management.py +++ b/ironic/drivers/modules/irmc/management.py @@ -27,9 +27,9 @@ from ironic.conductor import task_manager from ironic.conductor import utils as manager_utils from ironic import conf from ironic.drivers import base +from ironic.drivers.modules import boot_mode_utils from ironic.drivers.modules import ipmitool from ironic.drivers.modules.irmc import common as irmc_common -from ironic.drivers import utils as driver_utils irmc = importutils.try_import('scciclient.irmc') @@ -252,7 +252,7 @@ class IRMCManagement(ipmitool.IPMIManagement): "Invalid boot device %s specified.") % device) uefi_mode = ( - driver_utils.get_node_capability(task.node, 'boot_mode') == 'uefi') + boot_mode_utils.get_boot_mode(task.node) == 'uefi') # disable 60 secs timer timeout_disable = "0x00 0x08 0x03 0x08" |