diff options
author | Dmitry Tantsur <dtantsur@protonmail.com> | 2022-07-14 17:33:55 +0200 |
---|---|---|
committer | Dmitry Tantsur <dtantsur@protonmail.com> | 2022-08-02 12:47:31 +0200 |
commit | f0a1778766d2fbd13dfa7dcf4521004deddcab55 (patch) | |
tree | 0b44e395d9b7c930c7610d702c4738d03d233283 /ironic/conf/deploy.py | |
parent | 41484988efaa99122bb92b2314f781a53bba6984 (diff) | |
download | ironic-f0a1778766d2fbd13dfa7dcf4521004deddcab55.tar.gz |
Finally remove support for netboot and the boot_option capability
Instance network boot (not to be confused with ramdisk, iSCSI or
anaconda deploy methods) is insecure, underused and difficult to
maintain. This change removes a lot of related code from Ironic.
The so called "netboot fallback" is still supported for legacy boot when
boot device management is not available or is unreliable.
Change-Id: Ia8510e4acac6dec0a1e4f5cb0e07008548a00c52
Diffstat (limited to 'ironic/conf/deploy.py')
-rw-r--r-- | ironic/conf/deploy.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ironic/conf/deploy.py b/ironic/conf/deploy.py index 7a7fb37d7..6ae080c83 100644 --- a/ironic/conf/deploy.py +++ b/ironic/conf/deploy.py @@ -120,18 +120,6 @@ opts = [ mutable=True, help=_('Whether to power off a node after deploy failure. ' 'Defaults to True.')), - cfg.StrOpt('default_boot_option', - choices=[('netboot', _('boot from a network')), - ('local', _('local boot'))], - default='local', - mutable=True, - help=_('Default boot option to use when no boot option is ' - 'requested in node\'s driver_info. Defaults to ' - '"local". Prior to the Ussuri release, the default ' - 'was "netboot".'), - deprecated_for_removal=True, - deprecated_reason=_('Support for network boot will be removed ' - 'after the Yoga release.')), cfg.StrOpt('default_boot_mode', choices=[(boot_modes.UEFI, _('UEFI boot mode')), (boot_modes.LEGACY_BIOS, _('Legacy BIOS boot mode'))], |