1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix(nmcli): remove bond from ip_conn_type

By `bond` connections being included in the `ip_conn_type` list, the
resulting `nmcli` commands include references to `ipv4` and `ipv6`
settings. These options are not available to `bond` connection types as
stated by the error output in issue #8558.

Closes #8558
This commit is contained in:
Joey Grant 2024-08-07 10:10:15 -04:00
parent 132faeae34
commit e82c8f75f1
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- "nmcli - corrects underlying command formation by no longer including ``ipv4.*`` and ``ipv6.*`` settings when working with ``bond`` connection types (https://github.com/ansible-collections/community.general/issues/8558)."

View file

@ -1951,7 +1951,6 @@ class Nmcli(object):
@property
def ip_conn_type(self):
return self.type in (
'bond',
'bridge',
'dummy',
'ethernet',