use 10 bytes for dash password, as the UI truncates at 20 characters
This commit is contained in:
parent
06b7ad7c05
commit
f2aee71a2a
1 changed files with 3 additions and 1 deletions
4
stack.sh
4
stack.sh
|
@ -212,7 +212,9 @@ GLANCE_HOSTPORT=${GLANCE_HOSTPORT:-$HOST_IP:9292}
|
|||
# Service Token - Openstack components need to have an admin token
|
||||
# to validate user tokens.
|
||||
SERVICE_TOKEN=${SERVICE_TOKEN:-`openssl rand -hex 12`}
|
||||
ADMIN_PASSWORD=${ADMIN_PASSWORD:-`openssl rand -hex 12`}
|
||||
# Dash currently truncates usernames and passwords at 20 characters
|
||||
# so use 10 bytes
|
||||
ADMIN_PASSWORD=${ADMIN_PASSWORD:-`openssl rand -hex 10`}
|
||||
|
||||
|
||||
# Install Packages
|
||||
|
|
Loading…
Reference in a new issue