From 73bf04317d4f337cb24a5e796a12b7bc653d4f82 Mon Sep 17 00:00:00 2001 From: jjhua Date: Mon, 13 Sep 2010 09:16:09 +0000 Subject: [PATCH] setting up pe in the rhels6 stateful git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7432 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install index 5001e0282..a52416813 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install @@ -44,7 +44,7 @@ if [ $OS != "AIX" ]; then cd /tmp/pe download_dir=`echo $PE_DIR | cut -d '/' -f3-` wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=5 ftp://$SITEMASTER/$download_dir/*.rpm 2> /tmp/wget.log - if [ -f /opt/ibmhpc/install/sbin/accept_ppe_license.sh ] ; then + if [ ! -f /opt/ibmhpc/install/sbin/accept_ppe_license.sh ] ; then rpm -Uvh IBM_pe_license*.rpm fi IBM_PE_LICENSE_PROMPT=N /opt/ibmhpc/install/sbin/accept_ppe_license.sh