push @$cmd, '--auth_supported', 'none';
}
+ my $cephconfig = "/etc/pve/priv/ceph/${storeid}.conf";
+
+ if(-e $cephconfig){
+ push @$cmd, '-c', $cephconfig;
+ }
+
push @$cmd, $op;
push @$cmd, @options if scalar(@options);
push @$cmd, '--auth_supported', 'none';
}
+ my $cephconfig = "/etc/pve/priv/ceph/${storeid}.conf";
+
+ if(-e $cephconfig){
+ push @$cmd, '-c', $cephconfig;
+ }
+
push @$cmd, $op;
push @$cmd, @options if scalar(@options);
$path .= ":auth_supported=none";
}
+ my $cephconfig = "/etc/pve/priv/ceph/${storeid}.conf";
+
+ if(-e $cephconfig){
+ $path .= ":conf=$cephconfig";
+ }
+
return ($path, $vmid, $vtype);
}