Fix #1750: set monhost split to old behavior

The path method of the RBDPlugin got a list with comma separated monhosts,
but it needs the list with semi-colon for qemu.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
This commit is contained in:
Alwin Antreich
2018-05-04 14:03:47 +02:00
committed by Thomas Lamprecht
parent bce13b7f50
commit 0b45fb3eb5

View File

@ -345,7 +345,7 @@ sub path {
if ($cmd_option->{ceph_conf}) {
$path .= ":conf=$cmd_option->{ceph_conf}";
} else {
my $monhost = $cmd_option->{mon_host};
my $monhost = $hostlist->($scfg->{monhost}, ';');
$monhost =~ s/:/\\:/g;
$path .= ":mon_host=$monhost";
$path .= ":auth_supported=$cmd_option->{auth_supported}";