role.prepare_lxc_host/templates/etc/dnsmasq.d/bridge.j2
2024-03-12 21:39:29 +01:00

18 lines
381 B
Django/Jinja

#strict-order
local=/{{ lxc_host_bridge }}/
domain={{ lxc_host_bridge }}
expand-hosts
#except-interface=lo
#bind-interfaces
interface={{ lxc_host_bridge }}
dhcp-range={{ lxc_host_bridge }},{{ lxc_host_ipv4_dhcp_start }},{{ lxc_host_ipv4_dhcp_end }},2m
dhcp-no-override
dhcp-authoritative
dhcp-option=option:dns-server,{{ lxc_host_ipv4_addr|ansible.utils.ipaddr("address") }}