From f2aee71a2a06ae1ad20c925854ae3107fa878e9d Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Tue, 4 Oct 2011 13:32:45 -0700 Subject: [PATCH] use 10 bytes for dash password, as the UI truncates at 20 characters --- stack.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 3b66db5..28acccd 100755 --- a/stack.sh +++ b/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