fix: correct hardcoded macvlan template, use var macvlan_interface. (#7401)

This commit is contained in:
Jacky Wu 2021-03-24 16:46:06 +08:00 committed by GitHub
parent 486b223e01
commit e1c6992c55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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') }}