Fixing bug 3497120: Not to disable nsddevices by default

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2012-03-30 09:16:42 +00:00
parent 9c8932552f
commit f386741c7c

View File

@ -32,26 +32,26 @@ fi
OS=`uname`
# Create an empty nsddevices script for GPFS
# This assumes that the node is NOT an NSD server
if [ $OS == "AIX" ]; then
# Create the script on the node
mkdir -p $installroot/var/mmfs/etc
echo 'return 0' > $installroot/var/mmfs/etc/nsddevices
chmod 744 $installroot/var/mmfs/etc/nsddevices
else # assume Linux
if [ $NODESETSTATE == "genimage" ]; then
# Create the script in the image
mkdir -p $installroot/var/mmfs/etc
echo 'return 0' > $installroot/var/mmfs/etc/nsddevices
chmod 744 $installroot/var/mmfs/etc/nsddevices
else
# Create the script on the node
mkdir -p /var/mmfs/etc
echo 'return 0' > /var/mmfs/etc/nsddevices
chmod 744 /var/mmfs/etc/nsddevices
fi
fi
## Create an empty nsddevices script for GPFS
## This assumes that the node is NOT an NSD server
#if [ $OS == "AIX" ]; then
# # Create the script on the node
# mkdir -p $installroot/var/mmfs/etc
# echo 'return 0' > $installroot/var/mmfs/etc/nsddevices
# chmod 744 $installroot/var/mmfs/etc/nsddevices
#else # assume Linux
# if [ $NODESETSTATE == "genimage" ]; then
# # Create the script in the image
# mkdir -p $installroot/var/mmfs/etc
# echo 'return 0' > $installroot/var/mmfs/etc/nsddevices
# chmod 744 $installroot/var/mmfs/etc/nsddevices
# else
# # Create the script on the node
# mkdir -p /var/mmfs/etc
# echo 'return 0' > /var/mmfs/etc/nsddevices
# chmod 744 /var/mmfs/etc/nsddevices
# fi
#fi
# Add GPFS path to profile