d41f072c7b
Service REST API urls should be constructed using the {{ internal_protocol }} and {{ external_protocol }} configuration parameters. Change-Id: Id1e8098cf59f66aa35b371149fdb4b517fa4c908 Closes-Bug: 1862817
19 lines
790 B
Django/Jinja
19 lines
790 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_ipxe_url }}/ironic-agent.kernel ipa-inspection-callback-url={{ internal_protocol }}://{{ ironic_inspector_internal_fqdn | put_address_in_context('url') }}:{{ ironic_inspector_port }}/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_ipxe_url }}/ironic-agent.initramfs || goto retry_boot
|
|
boot
|