This commit is contained in:
chris committed 2023-09-12 07:46:55 +02:00
1 parent 8067b311fd
commit 26e4c5d5f8
8 files changed
+105 -7

No files matched your search

@@ -17,7 +17,11 @@ auto {{ config.device }}
allow-{{ stanza }}
{% endfor -%}
iface {{ config.device }} {{ config.family | default('inet', true) }} {{ config.method | default('static', true) }}
{% if config.method == "static" %}
{% if config.method == "manual" %}
{% if config.hwaddress is defined and config.hwaddress %}
hwaddress {{ config.hwaddress }}
{% endif %}
{% elif config.method == "static" %}
{% if (config.description is defined and config.description) %}
description {{ config.description }}
{% endif %}