2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-30 08:11:20 +00:00

Remove : for the output error message

This commit is contained in:
Mark Gurevich
2017-05-01 16:32:44 -04:00
parent 7a5456217d
commit 1c5be50188

View File

@@ -2712,7 +2712,9 @@ sub promote_vm_to_master {
$target = $sourcedir . "/" . $target;
}
unless ($target =~ /^nfs:\/\//) {
xCAT::SvrUtils::sendmsg([ 1, "KVM plugin only has nfs://<server>/<path>/<mastername> support for cloning at this moment" ], $callback, $node);
my $rsp;
push @{ $rsp->{data} }, "VM cloning is only supported for nfs server vmstorage attribute. Current setting is $target";
xCAT::MsgUtils->message('E', $rsp, $callback);
return;
}
my $dom;