feat(bootstrap): accept extra_addresses on network interfaces
This commit is contained in:
@@ -11,6 +11,9 @@ Type=ether
|
||||
[Network]
|
||||
{% if iface.ip | default('') | string | length %}
|
||||
Address={{ iface.ip }}/{{ iface.prefix }}
|
||||
{% for address in iface.extra_addresses | default([]) %}
|
||||
Address={{ address }}
|
||||
{% endfor %}
|
||||
{% if iface.gateway | default('') | string | length %}
|
||||
Gateway={{ iface.gateway }}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user