commit | 9b602937e71565bb736deb76e9ad71aba6f66519 | [log] [tgz] |
---|---|---|
author | Ales Komarek <mail@newt.cz> | Sun Sep 21 17:45:06 2014 +0200 |
committer | Ales Komarek <mail@newt.cz> | Sun Sep 21 17:45:06 2014 +0200 |
tree | e33bf9905269bf66bbf2aaf65dc69db76addd1da | |
parent | e653a1052bca80c5c9b705c20b07fac83ffeb675 [diff] [blame] |
range
diff --git a/files/dhcpd.hosts b/files/dhcpd.hosts index 835da14..359e5b1 100644 --- a/files/dhcpd.hosts +++ b/files/dhcpd.hosts
@@ -5,7 +5,9 @@ host {{ host_name }} { hardware ethernet {{ host.mac }}; fixed-address {{ host.address }}; + {%- if host.hostname is defined %} ddns-hostname "{{ host.hostname }}"; + {%- endif %} } {%- endfor %}