From 614b0bc0a96684416b0e388d5e2aaa6a835ebb7b Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Tue, 24 Jul 2012 11:57:52 +0000 Subject: [PATCH] issue pelinks in PE postinsall script to support multiple PE versions. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13339 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 index 93f0d8acb..e6d747f26 100644 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 @@ -107,3 +107,14 @@ fi # chroot $installroot chmod g+sw /var/lib/bsr # fi #fi + + +# pelinks script support, uncomment the following lines and change to the correct pe version that you intend to use. +#PE_VERSION=1202 +#if [ "$OS" != "AIX" ]; then +# if [ $NODESETSTATE == "install" ] || [ $NODESETSTATE == "boot" ]; then +# MP_CONFIG=$PE_VERSION /opt/ibmhpc/pe$PE_VERSION/ppe.poe/bin/pelinks +# else +# export MP_CONFIG=$PE_VERSION;chroot $installroot /opt/ibmhpc/pe$PE_VERSION/ppe.poe/bin/pelinks +# fi +#fi