mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-21 13:35:32 +00:00
fix issue 496 lsf_startup in redhat7.2
This commit is contained in:
@ -59,7 +59,14 @@ for lsfnode in $ALL_LSF_NODES
|
||||
do
|
||||
if [[ x${lsfnode} == x$NODE ]]
|
||||
then
|
||||
echo ". $LSF_TOP/conf/profile.lsf" >> /root/.profile
|
||||
|
||||
if grep -q -i "release 7.2" /etc/redhat-release ; then
|
||||
|
||||
echo ". $LSF_TOP/conf/profile.lsf" >> /root/.profile
|
||||
else
|
||||
#special case for redhat7.2
|
||||
echo ". $LSF_TOP/conf/profile.lsf" >> ~/.bash_profile
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user