diff options
author | Steven Hardy <shardy@redhat.com> | 2013-11-13 16:50:34 +0000 |
---|---|---|
committer | Steven Hardy <shardy@redhat.com> | 2013-11-13 16:54:59 +0000 |
commit | 4bd2d15b2146cf903361defc3d8541905c992ae4 (patch) | |
tree | 53ab36b98d2e4d70430305a2bebc4cb2e36f488d /install.sh | |
parent | d43864c726e1a25012c9708ff488ca3f1790d39a (diff) | |
download | heat-4bd2d15b2146cf903361defc3d8541905c992ae4.tar.gz |
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
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/install.sh b/install.sh index 40dfefae4..ad638bfc4 100755 --- a/install.sh +++ b/install.sh @@ -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/" |