diff --git a/roles/network_plugin/macvlan/templates/centos-network-macvlan.cfg.j2 b/roles/network_plugin/macvlan/templates/centos-network-macvlan.cfg.j2 index 6bef22c84..e7bad788e 100644 --- a/roles/network_plugin/macvlan/templates/centos-network-macvlan.cfg.j2 +++ b/roles/network_plugin/macvlan/templates/centos-network-macvlan.cfg.j2 @@ -5,7 +5,7 @@ BOOTPROTO=none ONBOOT=yes NM_CONTROLLED=no -MACVLAN_PARENT=eth2 +MACVLAN_PARENT={{ macvlan_interface }} MACVLAN_MODE=bridge IPADDR={{ node_pod_cidr|ipaddr('net')|ipaddr(1)|ipaddr('address') }}