Fix hardcode in ceph options

* add usage of configuraion ceph username instead of harcoded

Change-Id: Iaa4bcbfc916f80faf089b61933651bbc19bd5557
This commit is contained in:
Igor Yozhikov 2016-12-05 18:04:56 +03:00
parent 098e19677c
commit a92fff1f0c
2 changed files with 2 additions and 2 deletions

View File

@ -28,5 +28,5 @@ files:
path: /etc/ceph/ceph.conf
content: ceph.conf.j2
cinder-ceph-key:
path: /etc/ceph/ceph.client.cinder.keyring
path: /etc/ceph/ceph.client.{{ cinder.ceph.username }}.keyring
content: ceph.client.cinder.keyring.j2

View File

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