From 621ad7791147f80ef2da76d9768db1d77a0ad9e6 Mon Sep 17 00:00:00 2001 From: jjhua Date: Thu, 14 Mar 2013 02:44:52 +0000 Subject: [PATCH] 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/trunk@15498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/install/scripts/post.xcat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.xcat b/xCAT-server/share/xcat/install/scripts/post.xcat index e7938a530..e6c8f8ad2 100644 --- a/xCAT-server/share/xcat/install/scripts/post.xcat +++ b/xCAT-server/share/xcat/install/scripts/post.xcat @@ -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