[pve-devel] [PATCH manager 04/20] ceph: add /etc/pve/priv/ceph path

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri Aug 25 10:48:06 CEST 2017


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 PVE/CephTools.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/PVE/CephTools.pm b/PVE/CephTools.pm
index 0c0d7c18..23f2f0f1 100644
--- a/PVE/CephTools.pm
+++ b/PVE/CephTools.pm
@@ -12,6 +12,7 @@ use PVE::Tools qw(extract_param run_command file_get_contents file_read_firstlin
 
 my $ccname = 'ceph'; # ceph cluster name
 my $ceph_cfgdir = "/etc/ceph";
+my $pve_ceph_keydir = "/etc/pve/priv/ceph";
 my $pve_ceph_cfgpath = "/etc/pve/$ccname.conf";
 my $ceph_cfgpath = "$ceph_cfgdir/$ccname.conf";
 
@@ -25,6 +26,7 @@ my $ceph_bin = "/usr/bin/ceph";
 my $config_hash = {
     ccname => $ccname,
     pve_ceph_cfgpath => $pve_ceph_cfgpath,
+    pve_ceph_keydir => $pve_ceph_keydir,
     pve_mon_key_path => $pve_mon_key_path,
     pve_ckeyring_path => $pve_ckeyring_path,
     ceph_bootstrap_osd_keyring => $ceph_bootstrap_osd_keyring,
-- 
2.11.0





More information about the pve-devel mailing list