feat(bootstrap): accept extra_addresses on network interfaces
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user