mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix bond-slave honoring MTU (#8118)
The bond-slave type should honor the request MTU value.
This commit is contained in:
parent
f5fa16c881
commit
a4b32d7b9c
2 changed files with 3 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- nmcli - allow setting ``MTU`` for ``bond-slave`` interface types (https://github.com/ansible-collections/community.general/pull/8118).
|
|
@ -1952,6 +1952,7 @@ class Nmcli(object):
|
||||||
def mtu_conn_type(self):
|
def mtu_conn_type(self):
|
||||||
return self.type in (
|
return self.type in (
|
||||||
'bond',
|
'bond',
|
||||||
|
'bond-slave',
|
||||||
'dummy',
|
'dummy',
|
||||||
'ethernet',
|
'ethernet',
|
||||||
'infiniband',
|
'infiniband',
|
||||||
|
|
Loading…
Reference in a new issue