forked from zentralwerk/network
10 lines
299 B
Plaintext
10 lines
299 B
Plaintext
{%- set ifaces = [] %}
|
|
{%- for iface, ips in salt['grains.get']('ip_interfaces').items() %}
|
|
{%- if iface not in ['core', 'lo'] and pillar['subnets-inet'].get(iface) %}
|
|
{%- set ifaces = ifaces.append(iface) %}
|
|
{%- endif %}
|
|
{%- endfor %}
|
|
|
|
INTERFACESv4="{{ ' '.join(ifaces) }}"
|
|
INTERFACESv6=""
|