mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 01:26:38 +00:00
Merge pull request #613 from penguhyang/improve_post.xcat
improve the post.xcat to make the ouput clean
This commit is contained in:
commit
eef32c2c67
@ -330,16 +330,6 @@ TMP=`sed "/^#\s*postbootscripts-start-here/,/^#\s*postbootscripts-end-here/ d" /
|
||||
echo "$TMP" > /xcatpost/mypostscript
|
||||
chmod 755 /xcatpost/mypostscript
|
||||
|
||||
if [ ! -x /xcatpost/mypostscript ]; then
|
||||
if [ "$XCATDEBUGMODE" != "0" ]; then
|
||||
msgutil_r "$MASTER_IP" "debug" "failed to generate /xcatpost/mypostscript" "/var/log/xcat/xcat.log"
|
||||
fi
|
||||
else
|
||||
if [ "$XCATDEBUGMODE" != "0" ]; then
|
||||
msgutil_r "$MASTER_IP" "debug" "/xcatpost/mypostscript generated" "/var/log/xcat/xcat.log"
|
||||
fi
|
||||
fi
|
||||
|
||||
export NODE=#TABLE:nodelist:THISNODE:node#
|
||||
export ARCH=#TABLE:nodetype:THISNODE:arch#
|
||||
addsiteyum
|
||||
|
Loading…
x
Reference in New Issue
Block a user