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:
parent
132faeae34
commit
e82c8f75f1
2 changed files with 2 additions and 1 deletions
|
@ -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)."
|
|
@ -1951,7 +1951,6 @@ class Nmcli(object):
|
||||||
@property
|
@property
|
||||||
def ip_conn_type(self):
|
def ip_conn_type(self):
|
||||||
return self.type in (
|
return self.type in (
|
||||||
'bond',
|
|
||||||
'bridge',
|
'bridge',
|
||||||
'dummy',
|
'dummy',
|
||||||
'ethernet',
|
'ethernet',
|
||||||
|
|
Loading…
Add table
Reference in a new issue