Browse code

standardize mysql/rabbit password/user settings

Jesse Andrews authored on 2011/10/20 07:38:10
Showing 1 changed files
... ...
@@ -230,16 +230,15 @@ FLAT_INTERFACE=${FLAT_INTERFACE:-eth0}
230 230
 # use an existing server, you can pass in the user/password/host parameters.
231 231
 # You will need to send the same ``MYSQL_PASSWORD`` to every host if you are doing
232 232
 # a multi-node devstack installation.
233
+MYSQL_HOST=${MYSQL_HOST:-localhost}
233 234
 MYSQL_USER=${MYSQL_USER:-root}
234 235
 read_password MYSQL_PASSWORD "ENTER A PASSWORD TO USE FOR MYSQL."
235
-MYSQL_HOST=${MYSQL_HOST:-localhost}
236 236
 
237 237
 # don't specify /db in this string, so we can use it for multiple services
238 238
 BASE_SQL_CONN=${BASE_SQL_CONN:-mysql://$MYSQL_USER:$MYSQL_PASSWORD@$MYSQL_HOST}
239 239
 
240 240
 # Rabbit connection info
241 241
 RABBIT_HOST=${RABBIT_HOST:-localhost}
242
-RABBIT_PASSWORD=${RABBIT_PASSWORD:-`openssl rand -hex 12`}
243 242
 read_password RABBIT_PASSWORD "ENTER A PASSWORD TO USE FOR RABBIT."
244 243
 
245 244
 # Glance connection info.  Note the port must be specified.