-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:
parent
326bd3a711
commit
74df90b097
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user