ironic: fix tftp server address in the dnsmasq configuration

The tftp server is reachable on the ironic_tftp_listen_address
address.

Change-Id: I07b0d4a9da439954f982d19f472f6440b08ae3f8
This commit is contained in:
Christian Berendt 2024-03-16 12:39:29 +01:00
parent 4ab17364e4
commit bb444acb45

View File

@ -18,8 +18,8 @@ dhcp-option=tag:{{ tag }},option:router,{{ item.routers }}
{# 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