use 10 bytes for dash password, as the UI truncates at 20 characters

This commit is contained in:
Anthony Young 2011-10-04 13:32:45 -07:00
parent 06b7ad7c05
commit f2aee71a2a

View file

@ -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