2019-06-28 15:35:38 +08:00
|
|
|
DEVICE=mac0
|
|
|
|
DEVICETYPE=macvlan
|
|
|
|
TYPE=macvlan
|
|
|
|
BOOTPROTO=none
|
|
|
|
ONBOOT=yes
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
|
2021-03-24 16:46:06 +08:00
|
|
|
MACVLAN_PARENT={{ macvlan_interface }}
|
2019-06-28 15:35:38 +08:00
|
|
|
MACVLAN_MODE=bridge
|
|
|
|
|
2023-11-28 16:56:55 +08:00
|
|
|
IPADDR={{ node_pod_cidr|ansible.utils.ipaddr('net')|ansible.utils.ipaddr(1)|ansible.utils.ipaddr('address') }}
|
|
|
|
NETMASK={{ node_pod_cidr|ansible.utils.ipaddr('netmask') }}
|
|
|
|
NETWORK={{ node_pod_cidr|ansible.utils.ipaddr('network') }}
|