Update install.sh to reflect recent oslo.db format

The previous sql_connection option has been deprecated and replaced
with the database.connection option in oslo:

[database]
connection = mysql://heat:heat@localhost/heat

The old option still works, but the default is only respected from
the new option, which is confusing if you're relying on the previous
behavior where specifying nothing got you the sql_connection default.
So update the installed config to remove the deprecated options.

Change-Id: I0f5b4587358ec99b47c8ab3ee924191bbf2760a2
Closes-Bug: #1241826
This commit is contained in:
Steven Hardy 2013-11-13 16:50:34 +00:00
parent d43864c726
commit 4bd2d15b21
1 changed files with 1 additions and 2 deletions

View File

@ -73,8 +73,7 @@ basic_configuration() {
if echo $conf_path | grep ".conf$" >/dev/null 2>&1
then
iniset $target DEFAULT auth_encryption_key `hexdump -n 16 -v -e '/1 "%02x"' /dev/random`
iniset $target DEFAULT db_backend heat.db.sqlalchemy.api
iniset $target DEFAULT sql_connection "mysql://heat:heat@localhost/heat"
iniset $target database connection "mysql://heat:heat@localhost/heat"
BRIDGE_IP=127.0.0.1
iniset $target DEFAULT heat_metadata_server_url "http://${BRIDGE_IP}:8000/"