From: Laurent LĂ©onard Date: Fri, 7 Aug 2009 13:23:27 +0000 (+0200) Subject: Add VirtualBox support. X-Git-Tag: 1.2~5 X-Git-Url: http://git.annexia.org/?p=virt-what.git;a=commitdiff_plain;h=9cc6eaf572ed11e355633491bdbd1a113ff80a54 Add VirtualBox support. --- diff --git a/virt-what.in b/virt-what.in index b49994b..ebea7a1 100644 --- a/virt-what.in +++ b/virt-what.in @@ -77,6 +77,12 @@ if echo "$dmi" | grep -q 'Manufacturer: Microsoft Corporation'; then echo virtualpc fi +# Check for VirtualBox. + +if echo "$dmi" | grep -q 'Manufacturer: innotek GmbH'; then + echo virtualbox +fi + # Check for OpenVZ / Virtuozzo. # Added by Evgeniy Sokolov. # /proc/vz - always exists if OpenVZ kernel is running (inside and outside