-Fix nodestat for FQDN nodenames

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-07-09 18:26:56 +00:00
parent 326bd3a711
commit 74df90b097

View File

@ -206,8 +206,13 @@ sub process_request_nmap {
$installquerypossible=0; #reset possibility indicator
%rsp=();
unless ($deadnodes{$1}) {
my $shortname;
foreach (keys %deadnodes) {
if ($currnode =~ /^$_\./) {
if (/\./) {
$shortname = $_;
$shortname =~ s/\..*//;
}
if ($currnode =~ /^$_\./ or ($shortname and $shortname eq $currnode)) {
$currnode = $_;
last;
}