Fix hardcode in ceph options

* add usage of configuraion ceph username instead of harcoded

Change-Id: Idb5fa3a8c51c8e750204c8a039d48b20c10a6035
This commit is contained in:
Igor Yozhikov 2016-12-05 18:02:34 +03:00
parent b33b1b78b8
commit 8defa350c4
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
[client.glance]
[client.{{ glance.ceph.username }}]
key = {{ glance.ceph.key }}

View File

@ -85,7 +85,7 @@ files:
path: /etc/ceph/ceph.conf
content: ceph.conf.j2
glance-ceph-key:
path: /etc/ceph/ceph.client.glance.keyring
path: /etc/ceph/ceph.client.{{ glance.ceph.username }}.keyring
content: ceph.client.glance.keyring.j2
glance-swift-conf:
path: /etc/glance/glance-swift-store.conf