Change default ironic_lib invocation to flag local booting

The partition image support has been telling ironic-lib
that the machine will be local booted. While this is likely
harmless, and doesn't seem to break anythign, we should have
it match moving forward just to be on the safe side so we don't
accidently break things down the road.

Change-Id: I33e5d583964ef8c21aa04d7427bcd3957b89d449
This commit is contained in:
Julia Kreger 2020-11-12 06:39:31 -08:00 committed by Dmitry Tantsur
parent 433bcffdf2
commit 246e0cf29e
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ def _write_partition_image(image, image_info, device):
node_uuid = image_info.get('node_uuid')
preserve_ep = image_info['preserve_ephemeral']
configdrive = image_info['configdrive']
boot_option = image_info.get('boot_option', 'netboot')
boot_option = image_info.get('boot_option', 'local')
boot_mode = image_info.get('deploy_boot_mode', 'bios')
disk_label = utils.get_partition_table_type_from_specs(cached_node)
root_mb = image_info['root_mb']