mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	improve the post.xcat to make the ouput clean
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user