Merge pull request #3 from KivraChristoffer/origin/patch-1
Origin/patch 1
This commit is contained in:
commit
701b91fca6
1 changed files with 2 additions and 1 deletions
|
|
@ -18,7 +18,8 @@ def is_vm(dmi):
|
||||||
'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 \
|
'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']or \
|
||||||
|
'QEMU' in system[0]['Manufacturer']:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue