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.7@15492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2013-03-14 02:23:59 +00:00
parent afb39ee9f6
commit be6c764c15

View File

@ -125,11 +125,12 @@ chkconfig --add xcatpostinit1
TMP=`sed "/postbootscripts-start-here/,/postbootscripts-end-here/ d" /xcatpost/mypostscript`
echo "$TMP" > /xcatpost/mypostscript
/xcatpost/mypostscript
export NODE=#TABLE:nodelist:THISNODE:node#
export OSVER=#TABLE:nodetype:THISNODE:os#
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
updateflag.awk $MASTER 3002