Browse code

fixes #39 - use openssl to generate passwd for mysql

Jesse Andrews authored on 2011/10/03 01:30:54
Showing 1 changed files
... ...
@@ -135,7 +135,7 @@ LIBVIRT_TYPE=${LIBVIRT_TYPE:-kvm}
135 135
 
136 136
 # Mysql connection info
137 137
 MYSQL_USER=${MYSQL_USER:-root}
138
-MYSQL_PASS=${MYSQL_PASS:-nova}
138
+MYSQL_PASS=${MYSQL_PASS:-`openssl rand -hex 12`}
139 139
 MYSQL_HOST=${MYSQL_HOST:-localhost}
140 140
 # don't specify /db in this string, so we can use it for multiple services
141 141
 BASE_SQL_CONN=${BASE_SQL_CONN:-mysql://$MYSQL_USER:$MYSQL_PASS@$MYSQL_HOST}