diff --git a/xCAT-server/lib/xcat/plugins/pxe.pm b/xCAT-server/lib/xcat/plugins/pxe.pm index 2042514c7..280bc1c41 100644 --- a/xCAT-server/lib/xcat/plugins/pxe.pm +++ b/xCAT-server/lib/xcat/plugins/pxe.pm @@ -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})) { diff --git a/xCAT-server/lib/xcat/plugins/yaboot.pm b/xCAT-server/lib/xcat/plugins/yaboot.pm index 79b2f41c3..86124aa6a 100644 --- a/xCAT-server/lib/xcat/plugins/yaboot.pm +++ b/xCAT-server/lib/xcat/plugins/yaboot.pm @@ -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})) {