git.annexia.org
/
virt-what.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd81b8d
)
Add VirtualBox support.
author
Laurent Léonard
<laurent@open-minds.org>
Fri, 7 Aug 2009 13:23:27 +0000
(15:23 +0200)
committer
Richard Jones
<rjones@trick.home.annexia.org>
Mon, 10 Aug 2009 08:13:39 +0000
(09:13 +0100)
virt-what.in
patch
|
blob
|
history
diff --git
a/virt-what.in
b/virt-what.in
index
b49994b
..
ebea7a1
100644
(file)
--- 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