diff --git a/flavours/nova-vm/first-boot.d/defaults b/flavours/nova-vm/first-boot.d/defaults index 6ce09d56..9c71666a 100644 --- a/flavours/nova-vm/first-boot.d/defaults +++ b/flavours/nova-vm/first-boot.d/defaults @@ -9,11 +9,11 @@ HOST_IP_IFACE=${HOST_IP_IFACE:-$(ip route | sed -n '/^default/{ s/.*dev \(\w\+\) HOST_IP=`LC_ALL=C ip -f inet addr show ${HOST_IP_IFACE} | awk '/inet/ {split($2,parts,"/"); print parts[1]}'` # Mysql Passwords -MYSQL_ADMPASS=${MYSQL_ADMPASS:-$ {DEFAULT_PASSWORD}} -MYSQL_NOVAPASS=${MYSQL_NOVAPASS:-$MYSQL_ADMPASS} -MYSQL_GLANCEPASS=${MYSQL_GLANCEPASS:-$MYSQL_ADMPASS} -MYSQL_KEYSTONEPASS=${MYSQL_KEYSTONEPASS:-$MYSQL_ADMPASS} -MYSQL_CINDERPASS=${MYSQL_CINDERPASS:-$MYSQL_ADMPASS} +MYSQL_ADMPASS=${MYSQL_ADMPASS:-${DEFAULT_PASSWORD}} +MYSQL_NOVAPASS=${MYSQL_NOVAPASS:-${MYSQL_ADMPASS}} +MYSQL_GLANCEPASS=${MYSQL_GLANCEPASS:-${MYSQL_ADMPASS}} +MYSQL_KEYSTONEPASS=${MYSQL_KEYSTONEPASS:-${MYSQL_ADMPASS}} +MYSQL_CINDERPASS=${MYSQL_CINDERPASS:-${MYSQL_ADMPASS}} #Rabbitmq Passwords RABBIT_PASS=${RABBIT_PASS:-${DEFAULT_PASSWORD}}