Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions ironic-config/dnsmasq.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,18 @@ ra-param={{ env.PROVISIONING_INTERFACE }},0,0

dhcp-vendorclass=set:pxe6,enterprise:343,PXEClient
dhcp-userclass=set:ipxe6,iPXE
# option6:client-arch is not defined in dnsmasq upstream, resort to architecture
# detection via DHCPv6 option 61 (RFC 5970)
# Client is (i)PXE booting on EFI machine
dhcp-match=set:amd64,option:client-arch,7
dhcp-match=set:amd64,option:client-arch,9
dhcp-match=set:amd64,option6:61,7
dhcp-match=set:amd64,option6:61,9
dhcp-option=tag:pxe6,tag:amd64,option6:bootfile-url,tftp://{{ env.IRONIC_URL_HOST }}/snponly-x86_64.efi
# Client is (i)PXE booting on arm64 EFI machine
dhcp-match=set:arm64,option:client-arch,11
dhcp-match=set:arm64,option6:61,11
dhcp-option=tag:pxe6,tag:arm64,option6:bootfile-url,tftp://{{ env.IRONIC_URL_HOST }}/snponly-arm64.efi
# Client is running (i)PXE on BIOS machine
dhcp-option=tag:!pxe6,option6:bootfile-url,tftp://{{ env.IRONIC_URL_HOST }}/undionly.kpxe
# Fallback: serve x86_64 when PXE client is detected but architecture
# could not be determined. Legacy BIOS does not support IPv6 PXE.
dhcp-option=tag:pxe6,tag:!amd64,tag:!arm64,option6:bootfile-url,tftp://{{ env.IRONIC_URL_HOST }}/snponly-x86_64.efi
{%- if env.IPXE_TLS_SETUP != "true" %}
dhcp-option=tag:ipxe6,option6:bootfile-url,{{ env.IRONIC_HTTP_URL }}/boot.ipxe
{% endif %}
Expand Down
Loading