Add support for options "domain-name-servers" and "domain-name" in subnets.
This commit is contained in:
Родитель
2c868598d5
Коммит
bc32dc40c6
|
@ -14,6 +14,12 @@
|
|||
{%- if config.has_key('broadcast_address') %}
|
||||
{{ intendation }} option broadcast-address {{ config['broadcast_address'] }};
|
||||
{%- endif %}
|
||||
{%- if config.has_key('domain_name_servers') %}
|
||||
{{ intendation }} option domain-name-servers {{ config['domain_name_servers']|join(',') }};
|
||||
{%- endif %}
|
||||
{%- if config.has_key('domain_name') %}
|
||||
{{ intendation }} option domain-name "{{ config['domain_name'] }}";
|
||||
{%- endif %}
|
||||
{%- if config.has_key('filename') %}
|
||||
{{ intendation }} filename "{{ config['filename'] }}";
|
||||
{%- endif %}
|
||||
|
|
Загрузка…
Ссылка в новой задаче