Create keystone user in start.sh if it doesn't exist
This is required for the source install method (for packages the user/group is added as part of install) Change-Id: I9b2e8d3757587276c21967ee67d45277616d433f
This commit is contained in:
parent
897337cdd6
commit
e854587c94
@ -112,6 +112,9 @@ export OS_PASSWORD=${KEYSTONE_ADMIN_PASSWORD}
|
|||||||
export OS_TENANT_NAME=${ADMIN_TENANT_NAME}
|
export OS_TENANT_NAME=${ADMIN_TENANT_NAME}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# Create keystone user and group if they don't exist
|
||||||
|
id -u keystone &>/dev/null || useradd --user-group keystone
|
||||||
|
|
||||||
# Run PKI Setup script
|
# Run PKI Setup script
|
||||||
echo "Setting up PKI"
|
echo "Setting up PKI"
|
||||||
/usr/bin/keystone-manage pki_setup --keystone-user keystone --keystone-group keystone
|
/usr/bin/keystone-manage pki_setup --keystone-user keystone --keystone-group keystone
|
||||||
|
Loading…
Reference in New Issue
Block a user