small fix to add recognition of RHEV- Virtual machines (#150)

This commit is contained in:
Ryan Jones 2020-07-07 14:08:35 -04:00 committed by GitHub
parent a60c0cd70c
commit 9aedb46530
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,7 @@ def is_vm(dmi):
if 'Hyper-V' in bios[0]['Version'] or \
'Xen' in bios[0]['Version'] or \
'Google Compute Engine' in system[0]['Product Name'] or \
'RHEV Hypervisor' in system[0]['Product Name'] or \
'VirtualBox' in bios[0]['Version'] or \
'VMware' in system[0]['Manufacturer']:
return True