small fix to add recognition of RHEV- Virtual machines (#150)
This commit is contained in:
parent
a60c0cd70c
commit
9aedb46530
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ def is_vm(dmi):
|
||||||
if 'Hyper-V' in bios[0]['Version'] or \
|
if 'Hyper-V' in bios[0]['Version'] or \
|
||||||
'Xen' in bios[0]['Version'] or \
|
'Xen' in bios[0]['Version'] or \
|
||||||
'Google Compute Engine' in system[0]['Product Name'] or \
|
'Google Compute Engine' in system[0]['Product Name'] or \
|
||||||
|
'RHEV Hypervisor' in system[0]['Product Name'] or \
|
||||||
'VirtualBox' in bios[0]['Version'] or \
|
'VirtualBox' in bios[0]['Version'] or \
|
||||||
'VMware' in system[0]['Manufacturer']:
|
'VMware' in system[0]['Manufacturer']:
|
||||||
return True
|
return True
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue