Merge pull request #13 from redrampage/master
Fixed bug with host-name option
This commit is contained in:
commit
a81a9d4000
@ -139,7 +139,7 @@ host {{ host.hostname }}-hw{{ loop.index }} {
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
hardware ethernet {{ hwaddr }};
|
hardware ethernet {{ hwaddr }};
|
||||||
{% if not host.options is defined or (host.options and not 'host-name' in host.options) %}
|
{% if not host.options is defined or (host.options and not 'host-name' in host.options) %}
|
||||||
option host-name = {{ host.hostname }};
|
option host-name "{{ host.hostname }}";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if host.address is defined and host.address %}
|
{% if host.address is defined and host.address %}
|
||||||
fixed-address {{ host.address }};
|
fixed-address {{ host.address }};
|
||||||
|
Loading…
Reference in New Issue
Block a user