change glance-db config option to database and db-user to databaser-user
This commit is contained in:
parent
9da4165bb3
commit
3d474af86f
@ -14,11 +14,11 @@ options:
|
|||||||
Note that updating this setting to a source that is known to
|
Note that updating this setting to a source that is known to
|
||||||
provide a later version of OpenStack will trigger a software
|
provide a later version of OpenStack will trigger a software
|
||||||
upgrade.
|
upgrade.
|
||||||
db-user:
|
database-user:
|
||||||
default: glance
|
default: glance
|
||||||
type: string
|
type: string
|
||||||
description: Database username
|
description: Database username
|
||||||
glance-db:
|
database:
|
||||||
default: glance
|
default: glance
|
||||||
type: string
|
type: string
|
||||||
description: Glance database name.
|
description: Glance database name.
|
||||||
|
@ -96,7 +96,7 @@ def install_hook():
|
|||||||
|
|
||||||
|
|
||||||
def db_joined():
|
def db_joined():
|
||||||
relation_set(database=config["glance-db"], username=config["db-user"],
|
relation_set(database=config['database'], username=config['database-user'],
|
||||||
hostname=unit_get('private-address'))
|
hostname=unit_get('private-address'))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user