From 75f14fa895f81390df6e8e4b9afc3f86eeaa6b90 Mon Sep 17 00:00:00 2001 From: Cyril Levis Date: Sat, 12 Mar 2022 10:40:34 +0100 Subject: [PATCH] feat: add QEMU support --- netbox_agent/virtualmachine.py | 1 + 1 file changed, 1 insertion(+) diff --git a/netbox_agent/virtualmachine.py b/netbox_agent/virtualmachine.py index a58eb3d..6669b3b 100644 --- a/netbox_agent/virtualmachine.py +++ b/netbox_agent/virtualmachine.py @@ -17,6 +17,7 @@ def is_vm(dmi): 'Xen' in bios[0]['Version'] or \ 'Google Compute Engine' in system[0]['Product Name'] or \ 'RHEV Hypervisor' in system[0]['Product Name'] or \ + 'QEMU' in system[0]['Manufacturer'] or \ 'VirtualBox' in bios[0]['Version'] or \ 'VMware' in system[0]['Manufacturer']: return True