diff --git a/ironic/drivers/modules/ipminative.py b/ironic/drivers/modules/ipminative.py index c7739b137e..c629b39766 100644 --- a/ironic/drivers/modules/ipminative.py +++ b/ironic/drivers/modules/ipminative.py @@ -71,7 +71,7 @@ CONSOLE_PROPERTIES = { _BOOT_DEVICES_MAP = { boot_devices.DISK: 'hd', - boot_devices.PXE: 'net', + boot_devices.PXE: 'network', boot_devices.CDROM: 'cdrom', boot_devices.BIOS: 'setup', } diff --git a/ironic/tests/drivers/test_ipminative.py b/ironic/tests/drivers/test_ipminative.py index d11f127e93..df1b856cfe 100644 --- a/ironic/tests/drivers/test_ipminative.py +++ b/ironic/tests/drivers/test_ipminative.py @@ -298,8 +298,8 @@ class IPMINativeDriverTestCase(db_base.DbTestCase): with task_manager.acquire(self.context, self.node.uuid) as task: self.driver.management.set_boot_device(task, boot_devices.PXE) - # PXE is converted to 'net' internally by ipminative - ipmicmd.set_bootdev.assert_called_once_with('net', persist=False) + # PXE is converted to 'network' internally by ipminative + ipmicmd.set_bootdev.assert_called_once_with('network', persist=False) def test_set_boot_device_bad_device(self): with task_manager.acquire(self.context, self.node.uuid) as task: