summaryrefslogtreecommitdiffstats
path: root/virt-what.in
diff options
context:
space:
mode:
authorLaurent LĂ©onard <laurent@open-minds.org>2009-08-07 15:23:27 +0200
committerRichard Jones <rjones@trick.home.annexia.org>2009-08-10 09:13:39 +0100
commit9cc6eaf572ed11e355633491bdbd1a113ff80a54 (patch)
tree3950f260ca2fd3736f751904a3e4eb0e89670e58 /virt-what.in
parentfd81b8d1f95f1d515b340fe99596e0dd09b128f5 (diff)
downloadvirt-what-9cc6eaf572ed11e355633491bdbd1a113ff80a54.tar.gz
virt-what-9cc6eaf572ed11e355633491bdbd1a113ff80a54.tar.xz
virt-what-9cc6eaf572ed11e355633491bdbd1a113ff80a54.zip
Add VirtualBox support.
Diffstat (limited to 'virt-what.in')
-rw-r--r--virt-what.in6
1 files changed, 6 insertions, 0 deletions
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