From b9e1e11ece50b245d55f79d117efbf93f279f614 Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 9 Jun 2015 04:52:47 -0400 Subject: [PATCH] refine the message when the noderes.netboot is invalid --- xCAT-server/lib/xcat/plugins/destiny.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/destiny.pm b/xCAT-server/lib/xcat/plugins/destiny.pm index faff260da..ab4fa0c5e 100755 --- a/xCAT-server/lib/xcat/plugins/destiny.pm +++ b/xCAT-server/lib/xcat/plugins/destiny.pm @@ -314,7 +314,7 @@ sub setdestiny { #if any node with inappropriate noderes.netboot,report the error and return foreach my $tmpimage(keys %$invalidosimghash){ $errored =1; - $callback->({errorcode=>[1],error=> [join(",",@{$invalidosimghash->{$tmpimage}->{nodes}}).": stop configuration because $curnetboot DOES NOT work for provision of $tmpimage, please choose the correct noderes.netboot value in the subset \"$invalidosimghash->{$tmpimage}->{netboot}\",see description of 'netboot' attributes in 'tabdump -d noderes' for details."]}); + $callback->({errorcode=>[1],error=> [join(",",@{$invalidosimghash->{$tmpimage}->{nodes}}).": $curnetboot is not valid when provisioning $tmpimage,valid options: \"$invalidosimghash->{$tmpimage}->{netboot}\". \nFor more details see the 'netboot' description in the output of \"tabdump -d noderes\"."]}); } if("$errored" ne "0"){