From f9c30ab618fe7a04c8bfc9ffc5904ce3eb1a38c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Tue, 15 Nov 2011 16:02:44 +0000 Subject: [PATCH] - separate site-info for voms\n- generate arrange_user in /tmp --- org.glite.testsuites.ctb/PX/tests/px-common-testbeds.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/org.glite.testsuites.ctb/PX/tests/px-common-testbeds.sh b/org.glite.testsuites.ctb/PX/tests/px-common-testbeds.sh index eeb6143..8d865f0 100755 --- a/org.glite.testsuites.ctb/PX/tests/px-common-testbeds.sh +++ b/org.glite.testsuites.ctb/PX/tests/px-common-testbeds.sh @@ -91,11 +91,10 @@ mysql --user=root --password=[Edited] -e "grant all on *.* to 'root'@'\`hostname mysql --user=root --password=[Edited] -e "grant all on *.* to 'root'@'\`hostname -f\`' identified by '[Edited]';" cd -mkdir yaim +mkdir -p yaim/services cd yaim -mkdir services -cat << EOF > site-info.def +cat << EOF > site-info-voms.def MYSQL_PASSWORD="[Edited]" SITE_NAME="\`hostname -f\`" VOS="vo.org" @@ -118,12 +117,14 @@ EOF sed -i 's/155/255/g' /opt/glite/yaim/examples/edgusers.conf sed -i 's/156/256/g' /opt/glite/yaim/examples/edgusers.conf -/opt/glite/yaim/bin/yaim -c -s site-info.def -n VOMS +/opt/glite/yaim/bin/yaim -c -s site-info-voms.def -n VOMS source /etc/profile.d/grid-env.sh voms-admin --nousercert --vo vo.org create-user "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=glite" "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the trusted CA" "glite" "root@`hostname -f`" +cd /tmp/ + echo cd > arrange_px_test_user.sh echo export PXTSTCOLS=\$PXTSTCOLS >> arrange_px_test_user.sh echo 'export GLITE_MYSQL_ROOT_PASSWORD="[Edited]"' >> arrange_px_test_user.sh -- 1.8.2.3