mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 20:30:56 +00:00
fix issue 1146: Format of hosts is wrong when add input in /etc/hosts
This commit is contained in:
@ -87,6 +87,7 @@ 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
|
||||
chomp($hosts[$idx]);
|
||||
my ($hip, $hnode, $hdom, $hother)= split(/ /, $hosts[$idx]);
|
||||
|
||||
# at this point "othernames", if any is just a space
|
||||
|
Reference in New Issue
Block a user