summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2
diff options
context:
space:
mode:
Diffstat (limited to 'xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2')
-rw-r--r--xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2 b/xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2
index b0dea0f5..a97ad0cf 100644
--- a/xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2
+++ b/xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2
@@ -4,7 +4,7 @@ ONBOOT=yes
BOOTPROTO=none
{% if item.vlan_id is defined %}
VLAN=yes
-ETHERDEVICE={{ interface }}
+ETHERDEVICE={{ ansible_default_ipv4.interface }}
VLAN_ID={{ item.vlan_id }}
{% endif %}
BRIDGE={{ item.bridge }}