mirror of
https://opendev.org/x/pyghmi
synced 2025-01-15 04:07:48 +00:00
Merge "Support no-image media in list"
This commit is contained in:
commit
320d08df2e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user