From be6c764c15bd3992b460355a1896ec54b491ce16 Mon Sep 17 00:00:00 2001 From: jjhua Date: Thu, 14 Mar 2013 02:23:59 +0000 Subject: [PATCH] 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 --- xCAT-server/share/xcat/install/scripts/post.xcat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.xcat b/xCAT-server/share/xcat/install/scripts/post.xcat index 21335f176..bf66873bb 100644 --- a/xCAT-server/share/xcat/install/scripts/post.xcat +++ b/xCAT-server/share/xcat/install/scripts/post.xcat @@ -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