From d4d56cbc91ddc54f106328669f02927fceaa047c Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 3 Jun 2013 15:36:10 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/xcatdsklspost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index 1907c2bad..fb1ea1d41 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -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