summaryrefslogtreecommitdiff
path: root/ironic/drivers/modules/pxe_config.template
diff options
context:
space:
mode:
authorDmitry Tantsur <dtantsur@protonmail.com>2022-07-14 17:33:55 +0200
committerDmitry Tantsur <dtantsur@protonmail.com>2022-08-02 12:47:31 +0200
commitf0a1778766d2fbd13dfa7dcf4521004deddcab55 (patch)
tree0b44e395d9b7c930c7610d702c4738d03d233283 /ironic/drivers/modules/pxe_config.template
parent41484988efaa99122bb92b2314f781a53bba6984 (diff)
downloadironic-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/drivers/modules/pxe_config.template')
-rw-r--r--ironic/drivers/modules/pxe_config.template6
1 files changed, 0 insertions, 6 deletions
diff --git a/ironic/drivers/modules/pxe_config.template b/ironic/drivers/modules/pxe_config.template
index 9b773b2ba..bf4cec11a 100644
--- a/ironic/drivers/modules/pxe_config.template
+++ b/ironic/drivers/modules/pxe_config.template
@@ -5,12 +5,6 @@ kernel {{ pxe_options.deployment_aki_path }}
append initrd={{ pxe_options.deployment_ari_path }} selinux=0 troubleshoot=0 text {{ pxe_options.pxe_append_params|default("", true) }}
ipappend 2
-
-label boot_partition
-kernel {{ pxe_options.aki_path }}
-append initrd={{ pxe_options.ari_path }} root={{ ROOT }} ro text {{ pxe_options.pxe_append_params|default("", true) }}
-
-
label boot_whole_disk
COM32 chain.c32
append mbr:{{ DISK_IDENTIFIER }}