ppe_rte_license should be installed firstly which prevents 'ppe*.rpm' installing later. Use --force option to update rpm packages

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2012-03-08 11:40:45 +00:00
parent 0e88519c6a
commit b8b8c3db7c

View File

@ -46,10 +46,10 @@ if [ $OS != "AIX" ]; then
# wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=5 http://$SITEMASTER/$PE_DIR/*.rpm 2> /tmp/wget.log
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=6 --reject "index.html*" --no-parent http://$SITEMASTER$PE_DIR/ 2> /tmp/wget.log
if [ ! -f /opt/ibmhpc/pe1200/sbin/accept_ppe_license.sh ] ; then
rpm -Uvh pe/ppe_rte_license*.rpm
rpm -Uvh ppe_rte_license*.rpm
fi
IBM_PPE_RTE_LICENSE_ACCEPT=yes /opt/ibmhpc/pe1200/sbin/accept_ppe_license.sh
rpm -Uvh ppe*.rpm
rpm -Uvh --force ppe*.rpm
cd /
rm -Rf /tmp/pe
fi