dnsmasq: read reservations (also) from local context
Some questionable QoL improvement.
This commit is contained in:
parent
2b3cc0cb31
commit
d978475984
1 changed files with 5 additions and 0 deletions
|
|
@ -18,3 +18,8 @@ dhcp-host = {{ interface.mac_address | lower }},{{ address.address | ipaddr('add
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
# custom reservations
|
||||||
|
{% for reservation in reservations | default([]) %}
|
||||||
|
dhcp-host = {{ reservation.mac | lower }},{{ reservation.ip | ipaddr('address') }},{{ reservation.host | lower }}
|
||||||
|
{% endfor %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue