From 6d765fadf43e9d90d71f6ecefbd47af33a45c6ca Mon Sep 17 00:00:00 2001 From: immarvin Date: Wed, 8 Jul 2015 03:59:13 -0400 Subject: [PATCH] modify the checking of netboot value to be warning --- xCAT-server/lib/xcat/plugins/destiny.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/destiny.pm b/xCAT-server/lib/xcat/plugins/destiny.pm index ab4fa0c5e..e607a3bfb 100755 --- a/xCAT-server/lib/xcat/plugins/destiny.pm +++ b/xCAT-server/lib/xcat/plugins/destiny.pm @@ -225,9 +225,9 @@ sub setdestiny { my $netbootval=xCAT::Utils->lookupNetboot($ref->{osvers},$ref->{osarch},$ref->{imagetype}); unless($netbootval =~ /$curnetboot/i){ - $errored =1; - $callback->({errorcode=>[1],error=> [join(",",@{$req->{node}}).": $curnetboot is not valid when provisioning $target,valid options: \"$netbootval\". \nFor more details see the 'netboot' description in the output of \"tabdump -d noderes\"."]}); - return; + #$errored =1; + $callback->({warning=> [join(",",@{$req->{node}}).": $curnetboot is not valid when provisioning $target,valid options: \"$netbootval\". \nFor more details see the 'netboot' description in the output of \"tabdump -d noderes\"."]}); + #return; }