minor fix for getNodesetStates in pxe and yaboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f42e832599
commit
4e5597ce72
@ -634,7 +634,7 @@ sub getNodesetStates {
|
||||
} else {
|
||||
$tftpdir = $globaltftpdir;
|
||||
}
|
||||
my $tmp=getstate($node);
|
||||
my $tmp=getstate($node, $tftpdir);
|
||||
my @a=split(' ', $tmp);
|
||||
$stat = $a[0];
|
||||
if (exists($hashref->{$stat})) {
|
||||
|
@ -607,7 +607,7 @@ sub getNodesetStates {
|
||||
} else {
|
||||
$tftpdir = $globaltftpdir;
|
||||
}
|
||||
my $tmp=getstate($node);
|
||||
my $tmp=getstate($node, $tftpdir);
|
||||
my @a=split(' ', $tmp);
|
||||
$stat = $a[0];
|
||||
if (exists($hashref->{$stat})) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user