Merge "ironic: fix tftp server address in the dnsmasq configuration"

This commit is contained in:
Zuul 2025-04-18 10:43:22 +00:00 committed by Gerrit Code Review
commit 8d6b5de4c1

View File

@ -17,8 +17,8 @@ dhcp-range=set:{{ tag }},{{ item.range }},{{ lease_time }}
{# TODO(yoctozepto): IPv6-only support - DHCPv6 PXE support #}
{# different options must be used here #}
{% else %}{# ipv4 #}
dhcp-option=option:tftp-server,{{ api_interface_address }}
dhcp-option=option:server-ip-address,{{ api_interface_address }}
dhcp-option=option:tftp-server,{{ ironic_tftp_listen_address }}
dhcp-option=option:server-ip-address,{{ ironic_tftp_listen_address }}
dhcp-option=210,/var/lib/ironic/tftpboot/
{% if ironic_dnsmasq_serve_ipxe | bool %}
dhcp-match=ipxe,175