dnsmasq: read reservations (also) from local context

Some questionable QoL improvement.
This commit is contained in:
Timotej Lazar 2025-11-12 11:52:11 +01:00
parent 2b3cc0cb31
commit d978475984

View file

@ -18,3 +18,8 @@ dhcp-host = {{ interface.mac_address | lower }},{{ address.address | ipaddr('add
{% endif %}
{% endfor %}
# custom reservations
{% for reservation in reservations | default([]) %}
dhcp-host = {{ reservation.mac | lower }},{{ reservation.ip | ipaddr('address') }},{{ reservation.host | lower }}
{% endfor %}