commit | 6d9bc2c1539dcc8dd2fb0ffcb5756e4d328b2942 | [log] [tgz] |
---|---|---|
author | Ales Komarek <mail@newt.cz> | Sun Sep 21 17:25:05 2014 +0200 |
committer | Ales Komarek <mail@newt.cz> | Sun Sep 21 17:25:05 2014 +0200 |
tree | 59c91c3c3f0270230ee6921dc95faa55cacc43b2 | |
parent | 3162e3536d379fb53e1fda54b23b11f4354e3569 [diff] [blame] |
fixes
diff --git a/files/dhcpd.hosts b/files/dhcpd.hosts new file mode 100644 index 0000000..835da14 --- /dev/null +++ b/files/dhcpd.hosts
@@ -0,0 +1,11 @@ +{%- from "isc_dhcp/map.jinja" import server with context %} + +{%- for host_name, host in server.host.iteritems() %} + +host {{ host_name }} { + hardware ethernet {{ host.mac }}; + fixed-address {{ host.address }}; + ddns-hostname "{{ host.hostname }}"; +} + +{%- endfor %}