mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	fixed bug 3259, have the addsiteyum be called before running the postscripts, the repos might be needed by some other user customized scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -185,10 +185,10 @@ chmod 755 /opt/xcat/xcatdsklspost | ||||
| TMP=`sed "/postbootscripts-start-here/,/postbootscripts-end-here/ d" /xcatpost/mypostscript` | ||||
| echo "$TMP" > /xcatpost/mypostscript | ||||
|  | ||||
| /xcatpost/mypostscript | ||||
| export NODE=#TABLE:nodelist:THISNODE:node# | ||||
| export ARCH=#TABLE:nodetype:THISNODE:arch# | ||||
| addsiteyum | ||||
| /xcatpost/mypostscript | ||||
| sed -i 's/^serial/#serial/' /boot/grub/grub.conf | ||||
| sed -i 's/^terminal/#terminal/' /boot/grub/grub.conf | ||||
| if [ -z "$NODESTATUS" ] || [ "$NODESTATUS" != "0" -a   "$NODESTATUS" != "N"  -a  "$NODESTATUS" != "n" ]; then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user