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
This commit is contained in:
linggao 2009-04-19 03:22:20 +00:00
parent 54785ff503
commit af173a793b

View File

@ -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,