feat(bootstrap): accept extra_addresses on network interfaces

This commit is contained in:
2026-09-29 09:20:39 +02:00
parent 5a43c9a29e
commit 36ba36fd21
7 changed files with 33 additions and 1 deletions
+3
View File
@@ -19,6 +19,9 @@ interface-name=en*;eth*;
{% set search_list = configuration_dns_search %}
{% if iface.ip | default('') | string | length %}
address1={{ iface.ip }}/{{ iface.prefix }}{{ (',' ~ iface.gateway) if (iface.gateway | default('') | string | length) else '' }}
{% for address in iface.extra_addresses | default([]) %}
address{{ loop.index + 1 }}={{ address }}
{% endfor %}
method=manual
{% else %}
method=auto