mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-02 19:05:32 +00:00
Merge pull request #1151 from zet809/fix_issue_1146
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