aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/ansible-vvp-bootstrap/templates/dnsmasq.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/ansible-vvp-bootstrap/templates/dnsmasq.conf.j2')
-rw-r--r--ansible/roles/ansible-vvp-bootstrap/templates/dnsmasq.conf.j210
1 files changed, 5 insertions, 5 deletions
diff --git a/ansible/roles/ansible-vvp-bootstrap/templates/dnsmasq.conf.j2 b/ansible/roles/ansible-vvp-bootstrap/templates/dnsmasq.conf.j2
index 2908165..86fa4c5 100644
--- a/ansible/roles/ansible-vvp-bootstrap/templates/dnsmasq.conf.j2
+++ b/ansible/roles/ansible-vvp-bootstrap/templates/dnsmasq.conf.j2
@@ -53,19 +53,19 @@ dhcp-option=#{{ops_management_interface}},6
enable-tftp
tftp-root=/var/lib/tftpboot
{% if pxe_boot %}
- {% if pxe_chainload %}
+{% if pxe_chainload %}
dhcp-userclass=set:iceundi,ICEPXE
dhcp-boot=tag:coreos,tag:#iceundi,iceundionly.kpxe
- {% else %}
+{% else %}
dhcp-userclass=set:iceundi,iPXE
dhcp-boot=tag:coreos,tag:#iceundi,undionly.kpxe
- {% endif %}
+{% endif %}
dhcp-boot=tag:iceundi,http://{{ops_management_ip}}:8080/boot.ipxe
{% endif %}
{% for host in hosts %}
- {% for config in host.dnsmasq_config %}
+{% for config in host.dnsmasq_config %}
dhcp-host={{config}}
- {% endfor %}
+{% endfor %}
{% endfor %}
dhcp-ignore=tag:#known
log-queries