diff --git a/xCAT-server/lib/xcat/plugins/hosts.pm b/xCAT-server/lib/xcat/plugins/hosts.pm index e61bdc252..f3c8964cb 100644 --- a/xCAT-server/lib/xcat/plugins/hosts.pm +++ b/xCAT-server/lib/xcat/plugins/hosts.pm @@ -72,6 +72,7 @@ sub build_line { } elsif ($ADDNAMES) { $$othernames = $_.$domain." ".$othernames; } + } if ($node =~ m/\.$domain$/i) { $longname = $node;