From 1c5be50188420344ec14663f837f831aff3df833 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Mon, 1 May 2017 16:32:44 -0400 Subject: [PATCH] Remove : for the output error message --- xCAT-server/lib/xcat/plugins/kvm.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index bba0002ec..48dc8b634 100755 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -2712,7 +2712,9 @@ sub promote_vm_to_master { $target = $sourcedir . "/" . $target; } unless ($target =~ /^nfs:\/\//) { - xCAT::SvrUtils::sendmsg([ 1, "KVM plugin only has nfs://// 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;