2
0
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:
bybai
2016-03-24 23:24:41 -04:00
parent 7fe3ba3c14
commit de566bf7dd

View File

@ -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