diff --git a/nova/templates/bin/_ceph-keyring.sh.tpl b/nova/templates/bin/_ceph-keyring.sh.tpl index d7007d566d..4af83a48ca 100644 --- a/nova/templates/bin/_ceph-keyring.sh.tpl +++ b/nova/templates/bin/_ceph-keyring.sh.tpl @@ -19,6 +19,8 @@ limitations under the License. set -ex export HOME=/tmp +cp -vf /etc/ceph/ceph.conf.template /etc/ceph/ceph.conf + KEYRING=/etc/ceph/ceph.client.${CEPH_CINDER_USER}.keyring {{- if .Values.conf.ceph.cinder.keyring }} cat > ${KEYRING} <