mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	-Fix syntax errors in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -958,7 +958,7 @@ sub setup_TFTP | ||||
|                 my %hmhash = %{$hmtab->getNodesAttribs(\@tnodes,[qw(node netboot)])}; | ||||
|                 foreach (@tnodes) { | ||||
|                   if ($hmhash{$_}->[0]->{netboot}) { | ||||
|                       push $netmethods{$hmhash{$_}->[0]->{netboot}},$_; | ||||
|                       push @{$netmethods{$hmhash{$_}->[0]->{netboot}}},$_; | ||||
|                   } | ||||
|                 } | ||||
|                 $cmdref->{command}->[0] = "nodeset"; | ||||
| @@ -966,7 +966,6 @@ sub setup_TFTP | ||||
|                 $cmdref->{cwd}->[0]     = "/opt/xcat/sbin"; | ||||
|                 foreach my $modname (keys %netmethods) { | ||||
|                     $cmdref->{node} = $netmethods{$modname}; | ||||
|                     print Dumper($cmdref); | ||||
|                     ${"xCAT_plugin::" . $modname . "::"}{process_request}->($cmdref, \&xCAT::Client::handle_response); | ||||
|                 } | ||||
|                  | ||||
|   | ||||
| @@ -88,11 +88,12 @@ sub setdestiny { | ||||
|           if ($stents{$_}->[0]->{currstate}) { | ||||
|               $state = $stents{$_}->[0]->{currstate}; | ||||
|               $state =~ s/ .*//; | ||||
|               push $nodestates{$state},$_; | ||||
|               push @{$nodestates{$state}},$_; | ||||
|           } | ||||
|       } | ||||
|       foreach (keys %nodestates) { | ||||
|           $req->{arg}->[0]=$_; | ||||
|           $req->{node} = $nodestates{$_}; | ||||
|           setdestiny($req,30,1); #ludicrous flag to denote no table updates can be inferred. | ||||
|       } | ||||
|       return; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user