diff --git a/changelogs/fragments/8118-fix-bond-slave-honoring-mtu.yml b/changelogs/fragments/8118-fix-bond-slave-honoring-mtu.yml new file mode 100644 index 0000000000..47f8af9ac3 --- /dev/null +++ b/changelogs/fragments/8118-fix-bond-slave-honoring-mtu.yml @@ -0,0 +1,2 @@ +minor_changes: + - nmcli - allow setting ``MTU`` for ``bond-slave`` interface types (https://github.com/ansible-collections/community.general/pull/8118). diff --git a/plugins/modules/nmcli.py b/plugins/modules/nmcli.py index 4ca4198e35..9360ce37d3 100644 --- a/plugins/modules/nmcli.py +++ b/plugins/modules/nmcli.py @@ -1952,6 +1952,7 @@ class Nmcli(object): def mtu_conn_type(self): return self.type in ( 'bond', + 'bond-slave', 'dummy', 'ethernet', 'infiniband',