2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-15 02:40:28 +00:00

improve the post.xcat to make the ouput clean

This commit is contained in:
penguhyang
2016-01-18 03:25:05 -05:00
parent ec265de784
commit 59d754aa44

View File

@ -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