e8025b3cb8
Change-Id: I8e4096d7136d0ce9e54f1af0bb9ba110487fb35b
19 lines
708 B
Django/Jinja
19 lines
708 B
Django/Jinja
#!ipxe
|
|
|
|
:retry_dhcp
|
|
dhcp || goto retry_dhcp
|
|
|
|
{# Standalone ironic: use ironic-configured PXE configs #}
|
|
{% if not enable_neutron | bool %}
|
|
# load the MAC-specific file or fail if it's not found
|
|
:boot_system
|
|
chain pxelinux.cfg/${mac:hexhyp} || goto inspector_ipa
|
|
{% endif %}
|
|
|
|
:inspector_ipa
|
|
:retry_boot
|
|
imgfree
|
|
kernel --timeout 30000 {{ ironic_http_url }}/ironic-agent.kernel ipa-inspection-callback-url={{ ironic_inspector_internal_endpoint }}/v1/continue systemd.journald.forward_to_console=yes BOOTIF=${mac} initrd=ironic-agent.initramfs {{ ironic_inspector_kernel_cmdline_extras | join(' ') }} || goto retry_boot
|
|
initrd --timeout 30000 {{ ironic_http_url }}/ironic-agent.initramfs || goto retry_boot
|
|
boot
|