HTK: Dont display keystone user password in ks-user job

This PS updates the ks user job script to not display the password
on stdout.

Change-Id: I3c11601a409d6d5993c351170c7057217cfabd8a
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Pete Birley 2019-01-18 13:03:17 -06:00 committed by Pete Birley
parent b3097f6a25
commit f7b7f17c12
1 changed files with 3 additions and 0 deletions

View File

@ -69,7 +69,10 @@ USER_ID=$(openstack user create --or-show --enable -f value -c id \
"${SERVICE_OS_USERNAME}");
# Manage user password (we do this in a seperate step to ensure the password is updated if required)
set +x
echo "Setting user password via: openstack user set --password=xxxxxxx ${USER_ID}"
openstack user set --password="${SERVICE_OS_PASSWORD}" "${USER_ID}"
set -x
# Display user
openstack user show "${USER_ID}"