From af173a793b50f225c23b7d96e455ba3bb1fbe53f Mon Sep 17 00:00:00 2001 From: linggao Date: Sun, 19 Apr 2009 03:22:20 +0000 Subject: [PATCH] fixed so that sharedtftp works on service node git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/yaboot.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/yaboot.pm b/xCAT-server/lib/xcat/plugins/yaboot.pm index 8ae2d5895..af0546403 100644 --- a/xCAT-server/lib/xcat/plugins/yaboot.pm +++ b/xCAT-server/lib/xcat/plugins/yaboot.pm @@ -274,7 +274,7 @@ sub process_request { #back to normal business #if not shared tftpdir, then filter, otherwise, set up everything - if ($req->{'_disparatetftp'}->[0]) { #reading hint from preprocess_command + if ($request->{'_disparatetftp'}->[0]) { #reading hint from preprocess_command @nodes = (); foreach (@rnodes) { if (xCAT::Utils->nodeonmynet($_)) { @@ -306,7 +306,8 @@ sub process_request { } return; } - + + $errored=0; unless ($args[0] eq 'stat') { # or $args[0] eq 'enact') { $sub_req->({command=>['setdestiny'], node=>\@nodes,