diff --git a/libvirt/templates/bin/_ceph-keyring.sh.tpl b/libvirt/templates/bin/_ceph-keyring.sh.tpl index d7007d566..02a382c3b 100644 --- a/libvirt/templates/bin/_ceph-keyring.sh.tpl +++ b/libvirt/templates/bin/_ceph-keyring.sh.tpl @@ -19,6 +19,8 @@ limitations under the License. set -ex export HOME=/tmp +cp -fv /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} <