diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index 7ab4bfe96..53c9aaa3f 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -78,14 +78,14 @@ export PATH chmod +x /xcatpost/*; echo "PATH=$PATH" /xcatpost/getpostscript.awk | sed -e 's/<[^>]*>//g'|egrep -v '^ *$'|sed -e 's/^ *//' > /tmp/mypostscript; -MYCONT=`cat /tmp/mypostscript` +MYCONT=`grep MASTER /tmp/mypostscript` #echo "MYCONT=$MYCONT" while [ -z "$MYCONT" ]; do let SLI=$RANDOM%10 let SLI=10+$SLI sleep $SLI /xcatpost/getpostscript.awk | sed -e 's/<[^>]*>//g'|egrep -v '^ *$'|sed -e 's/^ *//' > /tmp/mypostscript; - MYCONT=`cat /tmp/mypostscript` + MYCONT=`grep MASTER /tmp/mypostscript` # echo "MYCONT=$MYCONT" done