From e57c4fa50bb187e0460660b6bfb208a097deaeaa Mon Sep 17 00:00:00 2001 From: Matt Raso-Barnett Date: Tue, 1 Sep 2020 19:25:45 +0100 Subject: [PATCH] Add potential fix for idempotency problem for infiniband See: https://github.com/linux-system-roles/network/issues/277 --- library/network_connections.py | 1 + 1 file changed, 1 insertion(+) diff --git a/library/network_connections.py b/library/network_connections.py index 00236235..f285676f 100644 --- a/library/network_connections.py +++ b/library/network_connections.py @@ -839,6 +839,7 @@ def connection_create(self, connections, idx, connection_current=None): NM.SETTING_CONNECTION_TYPE, NM.SETTING_INFINIBAND_SETTING_NAME ) s_infiniband = self.connection_ensure_setting(con, NM.SettingInfiniband) + s_wired = self.connection_ensure_setting(con, NM.SettingWired) s_infiniband.set_property( NM.SETTING_INFINIBAND_MAC_ADDRESS, connection["mac"] )