Use provisioning network to access TFTP server during workload inspection

This commit is contained in:
Mark Goddard 2017-08-30 16:47:20 +00:00
parent c2f42af651
commit 61ffac59e5

View File

@ -4,9 +4,9 @@ interface={% raw %}{{ ironic_dnsmasq_interface }}{% endraw %}
bind-interfaces bind-interfaces
dhcp-range={{ kolla_inspector_dhcp_pool_start }},{{ kolla_inspector_dhcp_pool_end }},12h dhcp-range={{ kolla_inspector_dhcp_pool_start }},{{ kolla_inspector_dhcp_pool_end }},12h
dhcp-sequential-ip dhcp-sequential-ip
dhcp-option=option:tftp-server,{% raw %}{{ kolla_internal_vip_address }}{% endraw %} dhcp-option=option:tftp-server,{% raw %}{{ hostvars[inventory_hostname]['ansible_' ~ provision_interface | replace('-', '_')]['ipv4']['address'] }}{% endraw %}
dhcp-option=option:server-ip-address,{% raw %}{{ kolla_internal_vip_address }}{% endraw %} dhcp-option=option:server-ip-address,{% raw %}{{ hostvars[inventory_hostname]['ansible_' ~ provision_interface | replace('-', '_')]['ipv4']['address'] }}{% endraw %}
dhcp-option=option:bootfile-name,pxelinux.0 dhcp-option=option:bootfile-name,pxelinux.0
dhcp-option=210,/tftpboot/ dhcp-option=210,/tftpboot/