@@ -1,8 +1,8 @@
#!/bin/bash
# Inventory System
# Author: Carsten Schoene
-# $LastChangedDate: 2012-11-07 20:11:02 +0100 (Wed, 07 Nov 2012) $
-# $Rev: 4265 $
+# $LastChangedDate: 2012-11-07 22:02:10 +0100 (Wed, 07 Nov 2012) $
+# $Rev: 4266 $
#
# Default options (can be changed by inventory-system.conf)
DEBUG="yes"
@@ -273,7 +273,7 @@
function get_system_serial {
[ "`is_disabled $FUNCNAME`" == "1" ] && return
case `get_system_type` in
- xen-dom0|baremetal)
+ xen-dom0|baremetal|kvm|vmware)
SYSSERIAL=`${DMIDECODE} -s system-serial-number`
;;
*)
@@ -401,7 +401,7 @@
function get_system_productname {
[ "`is_disabled $FUNCNAME`" == "1" ] && return
case `get_system_type` in
- xen-dom0|baremetal)
+ xen-dom0|baremetal|kvm|vmware)
PRODNAME=`${DMIDECODE} -s system-product-name`
;;
*)
@@ -416,7 +416,7 @@
function get_system_manufacturer {
[ "`is_disabled $FUNCNAME`" == "1" ] && return
case `get_system_type` in
- xen-dom0|baremetal)
+ xen-dom0|baremetal|kvm|vmware)
SYSMANUF=`${DMIDECODE} -s system-manufacturer`
;;
*)
@@ -443,7 +443,7 @@
function get_system_biosversion {
[ "`is_disabled $FUNCNAME`" == "1" ] && return
case `get_system_type` in
- xen-dom0|baremetal)
+ xen-dom0|baremetal|kvm|vmware)
BIOSV=`${DMIDECODE} -s bios-version`
;;
*)
|