Add Amazon EC2 to virtual machines #236

Merged
sylr merged 1 commit from patch-1 into master 2022-08-08 15:37:14 +02:00

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 \
('Amazon EC2' in system[0]['Manufacturer'] and not system[0]['Product Name'].endswith('.metal')) or \
'RHEV Hypervisor' in system[0]['Product Name'] or \
'QEMU' in system[0]['Manufacturer'] or \
'VirtualBox' in bios[0]['Version'] or \