[pve-devel] [v2 manager 05/27] ceph: add /etc/pve/priv/ceph path
Fabian Grünbichler
f.gruenbichler at proxmox.com
Tue Aug 29 13:04:27 CEST 2017
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
rebased v1
PVE/CephTools.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/PVE/CephTools.pm b/PVE/CephTools.pm
index b104b5e8..f0976309 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";
@@ -30,6 +31,7 @@ my $ceph_service = {
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