Fixes: d851d63ecc8cfb20880d611c904fdc2ff83ae3e2
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE::Ceph::Tools::check_ceph_installed('ceph_bin');
}
+ my $auth = $param->{disable_cephx} ? 'none' : 'cephx';
+
# simply load old config if it already exists
PVE::Cluster::cfs_lock_file('ceph.conf', undef, sub {
my $cfg = cfs_read_file('ceph.conf');
UUID::generate($uuid);
UUID::unparse($uuid, $fsid);
- my $auth = $param->{disable_cephx} ? 'none' : 'cephx';
-
$cfg->{global} = {
'fsid' => $fsid,
'auth cluster required' => $auth,