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:
parent
b3097f6a25
commit
f7b7f17c12
@ -69,7 +69,10 @@ USER_ID=$(openstack user create --or-show --enable -f value -c id \
|
|||||||
"${SERVICE_OS_USERNAME}");
|
"${SERVICE_OS_USERNAME}");
|
||||||
|
|
||||||
# Manage user password (we do this in a seperate step to ensure the password is updated if required)
|
# 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}"
|
openstack user set --password="${SERVICE_OS_PASSWORD}" "${USER_ID}"
|
||||||
|
set -x
|
||||||
|
|
||||||
# Display user
|
# Display user
|
||||||
openstack user show "${USER_ID}"
|
openstack user show "${USER_ID}"
|
||||||
|
Loading…
Reference in New Issue
Block a user