-Correctly detect RHEL6 VMs in dodestiny

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-11-12 15:08:07 +00:00
parent 33e4a02870
commit fafdc03373

View File

@ -6,6 +6,9 @@ fi
if dmidecode|grep VMware; then #for now, reboot
IAMAVM=1
fi
if dmidecode|grep "Product Name: KVM"; 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