-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:
parent
ad736a3981
commit
c3baf8051d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user