feat(bootstrap): accept extra_addresses on network interfaces
This commit is contained in:
1 parent
5a43c9a29e
commit
36ba36fd21
7 files changed
+33
-1
No files matched your search
@@ -12,6 +12,9 @@ network:
|
||||
{% if has_static %}
|
||||
addresses:
|
||||
- "{{ iface.ip }}/{{ iface.prefix }}"
|
||||
{% for address in iface.extra_addresses | default([]) %}
|
||||
- "{{ address }}"
|
||||
{% endfor %}
|
||||
{% if iface.gateway | default('') | string | length %}
|
||||
routes:
|
||||
- to: default
|
||||
|
||||
Reference in new issue
Block a user