Revision 5f8ed792
Added by Nicolas CHARLES about 7 years ago
rudder-agent/SOURCES/patches/fusioninventory/9616-Fix-QEMU-detection.patch | ||
---|---|---|
--- fusioninventory-agent/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Vmsystem.pm
|
||
+++ fusioninventory-agent/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Vmsystem.pm
|
||
@@ -97,6 +97,7 @@ sub _getType {
|
||
my ($bios, $logger) = @_;
|
||
|
||
if ($bios->{SMANUFACTURER}) {
|
||
+ return 'QEMU' if $bios->{SMANUFACTURER} =~ /QEMU/;
|
||
return 'Hyper-V' if $bios->{SMANUFACTURER} =~ /Microsoft/;
|
||
return 'VMware' if $bios->{SMANUFACTURER} =~ /VMware/;
|
||
}
|
Also available in: Unified diff
Fixes #9616: Some QEMU virtual machines are seen as physical