diff --git a/pyghmi/redfish/command.py b/pyghmi/redfish/command.py index ddc3689f..6db11d58 100644 --- a/pyghmi/redfish/command.py +++ b/pyghmi/redfish/command.py @@ -1362,6 +1362,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