support for all products in rhel6 stateless/stateliete cluster
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2451ebdc03
commit
98ceb10077
@ -38,8 +38,9 @@ END
|
||||
|
||||
#-- Uncomment the "cons" entry in /etc/inittab
|
||||
#cons:12345:respawn:/sbin/smart_agetty -L 38400 console
|
||||
TMP_inittab=`sed 's/\(#\)\(cons:12345.*\)$/\2/' $installroot/etc/inittab`
|
||||
echo "$TMP_inittab" > $installroot/etc/inittab
|
||||
#TMP_inittab=`sed 's/\(#\)\(cons:12345.*\)$/\2/' $installroot/etc/inittab`
|
||||
#echo "$TMP_inittab" > $installroot/etc/inittab
|
||||
echo "co:2345:respawn:/sbin/agetty -L 38400 console" >> $installroot/etc/inittab
|
||||
|
||||
# Create initial copies of /etc/passwd and others in case they are needed
|
||||
# by other postscripts
|
||||
|
@ -4,7 +4,7 @@
|
||||
xinetd
|
||||
rsh
|
||||
rsh-server
|
||||
|
||||
at.ppc64
|
||||
|
||||
compat-libstdc++-33.ppc
|
||||
compat-libstdc++-33.ppc64
|
||||
|
5
xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.exlist
Executable file
5
xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.exlist
Executable file
@ -0,0 +1,5 @@
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhel6.ppc64.exlist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.exlist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.exlist#
|
||||
|
4
xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.otherpkgs.pkglist
Executable file
4
xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.otherpkgs.pkglist
Executable file
@ -0,0 +1,4 @@
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.otherpkgs.pkglist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.otherpkgs.pkglist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.otherpkgs.pkglist#
|
||||
|
3
xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.pkglist
Executable file
3
xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.pkglist
Executable file
@ -0,0 +1,3 @@
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhel6.ppc64.pkglist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.rhel6.pkglist#
|
||||
#INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.rhel6.pkglist#
|
59
xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.postinstall
Executable file
59
xCAT-IBMhpc/share/xcat/IBMhpc/compute.rhel6.ppc64.postinstall
Executable file
@ -0,0 +1,59 @@
|
||||
#!/bin/sh
|
||||
# Sample postinstall script for building a diskless SLES11 PPC64 image
|
||||
# with all IBM HPC products
|
||||
#
|
||||
#-- this script is run after all packages from $profile.pkglist are installed
|
||||
#--
|
||||
#-- it gets these arguments:
|
||||
#--
|
||||
#-- $1 = install root (chroot directory for profile)
|
||||
#-- $2 = OS version
|
||||
#-- $3 = architecture
|
||||
#-- $4 = profile name
|
||||
#-- $5 = work dir (where genimage is located)
|
||||
#--
|
||||
#--
|
||||
installroot=$1
|
||||
osver=$2
|
||||
arch=$3
|
||||
profile=$4
|
||||
workdir=$5
|
||||
|
||||
hpc=/opt/xcat/share/xcat/IBMhpc
|
||||
otherpkgs=/install/post/otherpkgs/$osver/$arch
|
||||
|
||||
|
||||
# Run default postinstall shipped with xcat
|
||||
/opt/xcat/share/xcat/netboot/rh/compute.rhel6.ppc64.postinstall $1 $2 $3 $4 $5
|
||||
|
||||
|
||||
# Run general IBMhpc postinstall script
|
||||
$hpc/IBMhpc.rhel.postinstall $1 $2 $3 $4 $5
|
||||
|
||||
|
||||
# Run script to install gpfs updates
|
||||
installroot=$installroot NODESETSTATE=genimage $hpc/gpfs/gpfs_updates
|
||||
# Run script to update GPFS mmsdrfs file in the image
|
||||
installroot=$installroot $hpc/gpfs/gpfs_mmsdrfs
|
||||
|
||||
|
||||
# Run script to accept compiler license
|
||||
installroot=$installroot NODESETSTATE=genimage $hpc/compilers/compilers_license
|
||||
|
||||
|
||||
# Run script to install PE and accept license
|
||||
installroot=$installroot pedir=$otherpkgs/pe NODESETSTATE=genimage $hpc/pe/pe_install
|
||||
|
||||
|
||||
# Run script to install ESSL and PESSL rpms
|
||||
installroot=$installroot essldir=$otherpkgs/essl NODESETSTATE=genimage $hpc/essl/essl_install
|
||||
|
||||
|
||||
# Run script to accept LoadLeveler license, install product rpms,
|
||||
# and do some config
|
||||
installroot=$installroot loadldir=$otherpkgs/loadl NODESETSTATE=genimage $hpc/loadl/loadl_install
|
||||
|
||||
# Run script to install RSCT rpms
|
||||
installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage $hpc/rsct/rsct_install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user