diff --git a/xCAT-server/lib/xcat/plugins/hosts.pm b/xCAT-server/lib/xcat/plugins/hosts.pm index 15b96132f..6cfb16694 100755 --- a/xCAT-server/lib/xcat/plugins/hosts.pm +++ b/xCAT-server/lib/xcat/plugins/hosts.pm @@ -87,13 +87,10 @@ sub addnode # we're processing the nics table and we found an # existing entry for this ip so just add this - # ode name as an alias for the existing entry + # node name as an alias for the existing entry chomp($hosts[$idx]); my ($hip, $hnode, $hdom, $hother) = split(/ /, $hosts[$idx]); - # at this point "othernames", if any is just a space - # elimited list - so just add the node name to the list - $othernames .= " $node"; $hosts[$idx] = build_line($callback, $ip, $hnode, $domain, $othernames); } else {