kolla-ansible/ansible/roles/ironic/templates/ironic-dnsmasq.conf.j2
Serguei Bezverkhi 0cd872c9e5 Fix genconfig for ironic-dnsmasq for kolla-kubernetes
Fix genconfig for ironic-dnsmasq for kolla-kubernetes

Change-Id: Icdf6f0aabb2b587437238e52305b06f424044546
Closes-Bug: #1665343
2017-02-16 22:33:05 -05:00

17 lines
509 B
Django/Jinja

port=0
{% if orchestration_engine != 'KUBERNETES' %}
interface={{ api_interface }}
dhcp-range={{ ironic_dnsmasq_dhcp_range }}
dhcp-option=option:tftp-server,{{ kolla_internal_vip_address }}
dhcp-option=option:server-ip-address,{{ kolla_internal_vip_address }}
{% else %}
interface=undefined
dhcp-range=
dhcp-option=option:tftp-server,undefined
dhcp-option=option:server-ip-address,undefined
{% endif %}
bind-interfaces
dhcp-sequential-ip
dhcp-option=option:bootfile-name,pxelinux.0
dhcp-option=210,/tftpboot/