Add Amazon EC2 to virtual machines (#236)
This commit is contained in:
parent
29d2f23986
commit
79a08359ae
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 \
|
||||||
|
('Amazon EC2' in system[0]['Manufacturer'] and not system[0]['Product Name'].endswith('.metal')) or \
|
||||||
'RHEV Hypervisor' in system[0]['Product Name'] or \
|
'RHEV Hypervisor' in system[0]['Product Name'] or \
|
||||||
'QEMU' in system[0]['Manufacturer'] or \
|
'QEMU' in system[0]['Manufacturer'] or \
|
||||||
'VirtualBox' in bios[0]['Version'] or \
|
'VirtualBox' in bios[0]['Version'] or \
|
||||||
|
|
Loading…
Reference in a new issue