1
0
Fork 0
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:
Tobias Urdin 2024-03-24 18:05:04 +01:00 committed by GitHub
parent f5fa16c881
commit a4b32d7b9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- nmcli - allow setting ``MTU`` for ``bond-slave`` interface types (https://github.com/ansible-collections/community.general/pull/8118).

View file

@ -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',