diff options
| author | Julia Kreger <juliaashleykreger@gmail.com> | 2020-11-12 06:39:31 -0800 |
|---|---|---|
| committer | Dmitry Tantsur <dtantsur@protonmail.com> | 2020-12-19 19:02:58 +0000 |
| commit | 246e0cf29e0b14953efdca3952304cd652314d33 (patch) | |
| tree | 226fe02d45e472916ab6edf7a592eebc4125d730 /ironic_python_agent/extensions | |
| parent | 433bcffdf2b95199901c658aea109ff7e26d5e9f (diff) | |
| download | ironic-python-agent-246e0cf29e0b14953efdca3952304cd652314d33.tar.gz | |
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
Diffstat (limited to 'ironic_python_agent/extensions')
| -rw-r--r-- | ironic_python_agent/extensions/standby.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic_python_agent/extensions/standby.py b/ironic_python_agent/extensions/standby.py index 4f9c378b..e0ed1d6c 100644 --- a/ironic_python_agent/extensions/standby.py +++ b/ironic_python_agent/extensions/standby.py @@ -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'] |
