5 lines
284 B
Django/Jinja
5 lines
284 B
Django/Jinja
# This whole approach is very insecure. Fixme.
|
|
virsh secret-define --file /etc/libvirt/secrets/secret.xml
|
|
virsh secret-set-value --secret {{ cinder.ceph.rbd_secret_uuid }} --base64 {{ cinder.ceph.key }}
|
|
rm -f /etc/libvirt/secrets/secret.xml /opt/ccp/bin/ceph-libvirt-secret-config.sh
|