correct an error of the ==

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2012-07-06 08:58:53 +00:00
parent ae1df250b2
commit f0e3791a45

View File

@ -53,7 +53,7 @@ if [ $OS != "AIX" ]; then
if [ $NODESETSTATE == "genimage" ]; then
# Being called from <image>.postinstall script
# Assume we are on the same machine
if [[ $OS = sles* ]] || [[ $OS = suse* ]] || [[ -f /etc/SuSE-release ]]; then
if [[ $OS == sles* ]] || [[ $OS == suse* ]] || [[ -f /etc/SuSE-release ]]; then
mkdir $installroot/tmp/ofed_install
cp -r $OFED_DIR $installroot/tmp/ofed_install/
mount -t devtmpfs /dev $installroot/dev/