summaryrefslogtreecommitdiff
path: root/ironic/drivers/modules
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2022-03-29 18:32:36 -0700
committerJulia Kreger <juliaashleykreger@gmail.com>2022-07-20 06:50:03 -0700
commit33bb2c248a20d6a2a0af570655124cbc86d58b6a (patch)
treee00370d4149feeebd9bf60bba7c3bcb7f0abb9b1 /ironic/drivers/modules
parente78f123ff8e3a4fcd5e3e596b526eb5eb39a34a9 (diff)
downloadironic-33bb2c248a20d6a2a0af570655124cbc86d58b6a.tar.gz
Do not require stage2 for anaconda with standalone
The use of the anaconda deployment interface can be confusing when using a standalone deployment model. Specifically this is because the anaconda deployment interface was primarily modeled for usage with glance and the inherent configuration of a fully integrated OpenStack deployment. The additional prameters are confusing, so this also (hopefully) provides clarity into use and options. Change-Id: I748fd86901bc05d3d003626b5e14e655b7905215
Diffstat (limited to 'ironic/drivers/modules')
-rw-r--r--ironic/drivers/modules/ipxe_config.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/drivers/modules/ipxe_config.template b/ironic/drivers/modules/ipxe_config.template
index 32afea5ec..bca63c982 100644
--- a/ironic/drivers/modules/ipxe_config.template
+++ b/ironic/drivers/modules/ipxe_config.template
@@ -33,7 +33,7 @@ boot
:boot_anaconda
imgfree
-kernel {% if pxe_options.ipxe_timeout > 0 %}--timeout {{ pxe_options.ipxe_timeout }} {% endif %}{{ pxe_options.aki_path }} text {{ pxe_options.pxe_append_params|default("", true) }} inst.ks={{ pxe_options.ks_cfg_url }} inst.stage2={{ pxe_options.stage2_url }} initrd=ramdisk || goto boot_anaconda
+kernel {% if pxe_options.ipxe_timeout > 0 %}--timeout {{ pxe_options.ipxe_timeout }} {% endif %}{{ pxe_options.aki_path }} text {{ pxe_options.pxe_append_params|default("", true) }} inst.ks={{ pxe_options.ks_cfg_url }} {% if pxe_options.repo_url %}inst.repo={{ pxe_options.repo_url }}{% else %}inst.stage2={{ pxe_options.stage2_url }}{% endif %} initrd=ramdisk || goto boot_anaconda
initrd {% if pxe_options.ipxe_timeout > 0 %}--timeout {{ pxe_options.ipxe_timeout }} {% endif %}{{ pxe_options.ari_path }} || goto boot_anaconda
boot