mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Merge pull request #2965 from gurevichmark/clonevm_error
Remove : for the output error message
This commit is contained in:
commit
9834644ab2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user