mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #8118/a4b32d7b backport][stable-8] Fix bond-slave honoring MTU (#8141)
Fix bond-slave honoring MTU (#8118)
The bond-slave type should honor the request
MTU value.
(cherry picked from commit a4b32d7b9c
)
Co-authored-by: Tobias Urdin <tobias.urdin@gmail.com>
This commit is contained in:
parent
bbd924d67c
commit
6e0fa9042c
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):
|
||||
return self.type in (
|
||||
'bond',
|
||||
'bond-slave',
|
||||
'dummy',
|
||||
'ethernet',
|
||||
'infiniband',
|
||||
|
|
Loading…
Reference in a new issue