commit | fa418f66a8f4a72257d5acb8c8505e2741ae1216 | [log] [tgz] |
---|---|---|
author | Jesse Andrews <anotherjesse@gmail.com> | Sun Oct 02 09:30:54 2011 -0700 |
committer | Jesse Andrews <anotherjesse@gmail.com> | Sun Oct 02 09:31:34 2011 -0700 |
tree | 9c52763b1764dfb9f7a6792d46e95c667dfa7936 | |
parent | 9f20f5140ef319d7cc490e121ceebec6523657eb [diff] [blame] |
fixes #39 - use openssl to generate passwd for mysql
diff --git a/stack.sh b/stack.sh index 2be9bda..2c81820 100755 --- a/stack.sh +++ b/stack.sh
@@ -135,7 +135,7 @@ # Mysql connection info MYSQL_USER=${MYSQL_USER:-root} -MYSQL_PASS=${MYSQL_PASS:-nova} +MYSQL_PASS=${MYSQL_PASS:-`openssl rand -hex 12`} MYSQL_HOST=${MYSQL_HOST:-localhost} # don't specify /db in this string, so we can use it for multiple services BASE_SQL_CONN=${BASE_SQL_CONN:-mysql://$MYSQL_USER:$MYSQL_PASS@$MYSQL_HOST}