From fafdc033737f93d4e4a1f6d20229021337607c8c Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 12 Nov 2010 15:08:07 +0000 Subject: [PATCH] -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 --- xCAT-nbroot/overlay/bin/dodestiny | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-nbroot/overlay/bin/dodestiny b/xCAT-nbroot/overlay/bin/dodestiny index a1a2c725f..a04ab69dd 100755 --- a/xCAT-nbroot/overlay/bin/dodestiny +++ b/xCAT-nbroot/overlay/bin/dodestiny @@ -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