fix sql typo in nova-conductor start script

Change-Id: Ia01973ef10b1ab94a2cb5ddd9186adb916066beb
This commit is contained in:
Lars Kellogg-Stedman 2014-10-16 17:22:00 -04:00
parent a3b90f59f1
commit d02543c1bc

View File

@ -9,7 +9,7 @@ check_for_db
mysql -h ${MARIADB_SERVICE_HOST} -u root \ mysql -h ${MARIADB_SERVICE_HOST} -u root \
-p${DB_ROOT_PASSWORD} mysql <<EOF -p${DB_ROOT_PASSWORD} mysql <<EOF
CREATE DATABASE IF NOT EXISTS ${NOVA_DB_NAME}; CREATE DATABASE IF NOT EXISTS ${NOVA_DB_NAME};
GRANT ALL PRIVILEGES ON nova* TO GRANT ALL PRIVILEGES ON ${NOVA_DB_NAME}.* TO
'${NOVA_DB_USER}'@'%' IDENTIFIED BY '${NOVA_DB_PASSWORD}' '${NOVA_DB_USER}'@'%' IDENTIFIED BY '${NOVA_DB_PASSWORD}'
EOF EOF