-Add check for VMWare guest execution

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3526 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-06-08 15:54:54 +00:00
parent ad736a3981
commit c3baf8051d

View File

@ -3,6 +3,9 @@
if dmidecode|grep Vendor|grep QEMU; then #for now, reboot
IAMAVM=1
fi
if dmidecode|grep VMware; then #for now, reboot
IAMAVM=1
fi
for parm in `cat /proc/cmdline`; do
key=`echo $parm|awk -F= '{print $1}'`
if [ "$key" == "xcatd" ]; then