Browse code

don't require uuidgen, as it isn't always in sparse natty installs

Anthony Young authored on 2011/10/05 05:30:19
Showing 1 changed files
... ...
@@ -211,7 +211,7 @@ GLANCE_HOSTPORT=${GLANCE_HOSTPORT:-$HOST_IP:9292}
211 211
 
212 212
 # Service Token - Openstack components need to have an admin token
213 213
 # to validate user tokens.
214
-SERVICE_TOKEN=${SERVICE_TOKEN:-`uuidgen`}
214
+SERVICE_TOKEN=${SERVICE_TOKEN:-`openssl rand -hex 12`}
215 215
 ADMIN_PASSWORD=${ADMIN_PASSWORD:-`openssl rand -hex 12`}
216 216
 
217 217