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

pull/7404/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ BOOTPROTO=none
ONBOOT=yes ONBOOT=yes
NM_CONTROLLED=no NM_CONTROLLED=no
MACVLAN_PARENT=eth2 MACVLAN_PARENT={{ macvlan_interface }}
MACVLAN_MODE=bridge MACVLAN_MODE=bridge
IPADDR={{ node_pod_cidr|ipaddr('net')|ipaddr(1)|ipaddr('address') }} IPADDR={{ node_pod_cidr|ipaddr('net')|ipaddr(1)|ipaddr('address') }}