fixes #39 - use openssl to generate passwd for mysql
This commit is contained in:
parent
9f20f5140e
commit
fa418f66a8
1 changed files with 1 additions and 1 deletions
2
stack.sh
2
stack.sh
|
@ -135,7 +135,7 @@ LIBVIRT_TYPE=${LIBVIRT_TYPE:-kvm}
|
||||||
|
|
||||||
# Mysql connection info
|
# Mysql connection info
|
||||||
MYSQL_USER=${MYSQL_USER:-root}
|
MYSQL_USER=${MYSQL_USER:-root}
|
||||||
MYSQL_PASS=${MYSQL_PASS:-nova}
|
MYSQL_PASS=${MYSQL_PASS:-`openssl rand -hex 12`}
|
||||||
MYSQL_HOST=${MYSQL_HOST:-localhost}
|
MYSQL_HOST=${MYSQL_HOST:-localhost}
|
||||||
# don't specify /db in this string, so we can use it for multiple services
|
# 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}
|
BASE_SQL_CONN=${BASE_SQL_CONN:-mysql://$MYSQL_USER:$MYSQL_PASS@$MYSQL_HOST}
|
||||||
|
|
Loading…
Reference in a new issue