summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2
blob: b0dea0f5a871d2611797c0b05dbf64868908d44e (plain)
1
2
3
4
5
6
7
8
9
10
DEVICE={{ item.name }}
NM_CONTROLLED=no
ONBOOT=yes
BOOTPROTO=none
{% if item.vlan_id is defined %}
VLAN=yes
ETHERDEVICE={{ interface }}
VLAN_ID={{ item.vlan_id }}
{% endif %}
BRIDGE={{ item.bridge }}