Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
Removed information that is not needed
Browse files Browse the repository at this point in the history
Removed information that is not needed

Signed-off-by: Pankaj Borole <pankaj.g.borole@seagate.com>
  • Loading branch information
pankajgborole authored May 3, 2024
1 parent 27e7f86 commit 1d55173
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ SCRIPT_DIR="${SCRIPT_PATH%/*}"
. ${SCRIPT_DIR}/../common/common_funcs

S3_CRED_FILE="${SCRIPT_DIR}/s3_credentials_$(hostname -s)"
LDAP_USER="sgiamadmin"
LDAP_PASS="ldapadmin"
LDAP_USER=""
LDAP_PASS=""

function check_and_create_s3_cred() {
if [[ ! -f "$S3_CRED_FILE" ]]; then
Expand All @@ -40,7 +40,7 @@ function check_and_create_s3_cred() {
local username="perf_${hostname}_${rnd_str}"

$SCRIPT_DIR/s3_create_user --name $username \
--email ${username}@seagate.com --ldap-user $LDAP_USER \
--email ${username}@domain.com --ldap-user $LDAP_USER \
--ldap-pass $LDAP_PASS > $S3_CRED_FILE
fi
}
Expand Down

0 comments on commit 1d55173

Please sign in to comment.