Fixing bug 3497120: Not to disable nsddevices by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
fbd9d250d3
commit
4a3676c987
@ -69,26 +69,26 @@ if [ $OS != "AIX" ]; then
|
||||
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
|
||||
## 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
|
||||
|
Loading…
Reference in New Issue
Block a user