Fixed bug with host-name option

This commit is contained in:
RedRampage 2015-06-30 12:17:16 +03:00
parent e42f56b522
commit 4c47494faa

View File

@ -139,7 +139,7 @@ host {{ host.hostname }}-hw{{ loop.index }} {
{% endif %}
hardware ethernet {{ hwaddr }};
{% 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 %}
{% if host.address is defined and host.address %}
fixed-address {{ host.address }};