diff --git a/pyghmi/redfish/command.py b/pyghmi/redfish/command.py index a4657037..b7c2b20c 100644 --- a/pyghmi/redfish/command.py +++ b/pyghmi/redfish/command.py @@ -1337,6 +1337,9 @@ class Command(object): if vminfo['Image']: imageurl = vminfo['Image'].replace('/' + vminfo['ImageName'], '') yield media.Media(vminfo['ImageName'], imageurl) + elif vminfo['Inserted'] and vminfo['ImageName']: + yield media.Media(vminfo['ImageName']) + def get_storage_configuration(self): """"Get storage configuration data