Browse code

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

Anthony Young authored on 2011/10/05 05:32:45
Showing 1 changed files
... ...
@@ -212,7 +212,9 @@ GLANCE_HOSTPORT=${GLANCE_HOSTPORT:-$HOST_IP:9292}
212 212
 # Service Token - Openstack components need to have an admin token
213 213
 # to validate user tokens.
214 214
 SERVICE_TOKEN=${SERVICE_TOKEN:-`openssl rand -hex 12`}
215
-ADMIN_PASSWORD=${ADMIN_PASSWORD:-`openssl rand -hex 12`}
215
+# Dash currently truncates usernames and passwords at 20 characters
216
+# so use 10 bytes
217
+ADMIN_PASSWORD=${ADMIN_PASSWORD:-`openssl rand -hex 10`}
216 218
 
217 219
 
218 220
 # Install Packages