diff --git a/pyghmi/ipmi/oem/lenovo/config.py b/pyghmi/ipmi/oem/lenovo/config.py index 818db0c7..8b598517 100644 --- a/pyghmi/ipmi/oem/lenovo/config.py +++ b/pyghmi/ipmi/oem/lenovo/config.py @@ -271,8 +271,11 @@ class LenovoFirmwareConfig(object): cfgfilename = "config" options = {} data = None - rsp = self.xc.grab_redfish_response_with_status( - '/redfish/v1/Managers/1') + if self.connection: + rsp = (None, 200) + else: + rsp = self.xc.grab_redfish_response_with_status( + '/redfish/v1/Managers/1') if rsp[1] == 200: if 'purley' not in rsp[0].get('Oem', {}).get('Lenovo', {}).get( 'release_name', 'purley'):