0a1ccc2612
When enable_ironic_ipxe is set in /etc/kolla/globals.yml, the following happens: - a new docker container, ironic_ipxe, is created. This contains an apache webserver used to serve up the boot images - ironic is configured to use ipxe Change-Id: I08fca1864a00afb768494406c49e968920c83ae7 Implements: blueprint ironic-ipxe
21 lines
776 B
Django/Jinja
21 lines
776 B
Django/Jinja
port=0
|
|
interface={{ api_interface }}
|
|
dhcp-range={{ ironic_dnsmasq_dhcp_range }}
|
|
dhcp-option=option:tftp-server,{{ api_interface_address }}
|
|
dhcp-option=option:server-ip-address,{{ api_interface_address }}
|
|
bind-interfaces
|
|
dhcp-sequential-ip
|
|
dhcp-option=210,/tftpboot/
|
|
{% if enable_ironic_ipxe | bool %}
|
|
dhcp-match=ipxe,175
|
|
dhcp-match=set:efi,option:client-arch,7
|
|
dhcp-match=set:efi,option:client-arch,9
|
|
# Client is already running iPXE; move to next stage of chainloading
|
|
dhcp-option=tag:ipxe,option:bootfile-name,{{ ironic_ipxe_url }}/inspector.ipxe
|
|
# Client is PXE booting over EFI without iPXE ROM,
|
|
# send EFI version of iPXE chainloader
|
|
dhcp-option=tag:efi,tag:!ipxe,option:bootfile-name,ipxe.efi
|
|
{% endif %}
|
|
dhcp-option=option:bootfile-name,{{ ironic_dnsmasq_boot_file }}
|
|
|