Browse Source
fix: correct hardcoded macvlan template, use var macvlan_interface. (#7401)
pull/7404/head
Jacky Wu
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/network_plugin/macvlan/templates/centos-network-macvlan.cfg.j2
|
@ -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') }} |
|
|