create the loadl group and userid for rhels6 stateful

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2010-09-15 09:29:25 +00:00
parent 89c9b957fc
commit 7d48ccc282

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh
#
# Sample script to accept license and install LoadLeveler resmgr package
@ -27,6 +27,7 @@ LOADL_DIR=$loadldir
# Also, change the bin path below to the correct directory
####
linux_loadl_license_script="/opt/ibmll/LoadL/sbin/install_ll -c resmgr"
#linux_loadl_license_script="/opt/ibmll/LoadL/sbin/install_ll"
linux_loadl_bin=/opt/ibmll/LoadL/resmgr/full/bin
####
@ -52,6 +53,8 @@ if [ $OS != "AIX" ]; then
if [ $NODESETSTATE == "install" ] || [ $NODESETSTATE == "boot" ]; then
# Being run from a stateful install postscript
# Copy rpms directly from the xCAT management node and install
groupadd $loadl_group
useradd -G $loadl_group $loadl_admin
mkdir -p /tmp/loadl
rm -f -R /tmp/loadl/*
cd /tmp/loadl