diff --git a/pyghmi/redfish/oem/ami/megarac.py b/pyghmi/redfish/oem/ami/megarac.py index 705917db..37a31009 100644 --- a/pyghmi/redfish/oem/ami/megarac.py +++ b/pyghmi/redfish/oem/ami/megarac.py @@ -24,7 +24,7 @@ class OEMHandler(generic.OEMHandler): systems, status = webclient.grab_json_response_with_status('/redfish/v1/Systems') if status == 200: for system in systems.get('Members', []): - if system.get('@odata.id', '').endswith('/Self'): + if system.get('@odata.id', '').endswith('/Self') or system.get('@odata.id', '').endswith('/System_0'): sysurl = system['@odata.id'] break self._varsysurl = sysurl