2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-14 16:51:30 +00:00

Merge pull request #1911 from immarvin/onissue1

fix [fvt]2.12.3 install_lsf need to modify the lsb.hosts script #1910
This commit is contained in:
zet809
2016-09-28 17:43:06 +08:00
committed by GitHub

View File

@ -273,7 +273,7 @@ LSB_HOSTS_FILE_ORIG="$LSF_TOP/conf/lsbatch/$LSF_CLUSTER_NAME/configdir/lsb.hosts
mv $LSB_HOSTS_FILE $LSB_HOSTS_FILE_ORIG
PRIMARY_MASTER_NODE=`echo $LSF_MASTER_LIST | awk '{print $1}'`
echo "Begin Host" >> lsb.hosts
echo "Begin Host" >> $LSB_HOSTS_FILE
echo "HOST_NAME MXJ r1m pg ls tmp DISPATCH_WINDOW AFFINITY" >> $LSB_HOSTS_FILE
echo "default ! () () () () () (Y)" >> $LSB_HOSTS_FILE
echo "$PRIMARY_MASTER_NODE 0 () () () () () (Y)" >> $LSB_HOSTS_FILE