-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:
jbjohnso 2009-03-28 04:32:13 +00:00
parent 74ff7bb8e3
commit 968f372bc1
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

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