fix code assumes only XCATSERVER entry in xcatinfo, we have now added NODE

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2013-06-03 15:36:10 +00:00
parent 8210f4d82a
commit d4d56cbc91

View File

@ -226,7 +226,7 @@ if [ "$MODE" = "4" ]; then # for statelite mode
done
if [ -f /opt/xcat/xcatinfo ]; then
SIP=`cut -d= -f2 /opt/xcat/xcatinfo`;
SIP=`grep 'XCATSERVER' /opt/xcat/xcatinfo |cut -d= -f2`
if [ -n "$SIP" ]; then
download_postscripts $SIP
if [ $? -eq 0 ]; then