Ales Komarek | 6d9bc2c | 2014-09-21 17:25:05 +0200 | [diff] [blame] | 1 | {%- from "isc_dhcp/map.jinja" import server with context %} |
2 | |||||
3 | {%- for host_name, host in server.host.iteritems() %} | ||||
4 | |||||
5 | host {{ host_name }} { | ||||
6 | hardware ethernet {{ host.mac }}; | ||||
7 | fixed-address {{ host.address }}; | ||||
8 | ddns-hostname "{{ host.hostname }}"; | ||||
9 | } | ||||
10 | |||||
11 | {%- endfor %} |