correct an error of the ==

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2012-07-06 08:59:58 +00:00
parent 161cdeb4ec
commit a148f21ce4

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/