Closed bybai closed 6 years ago
for https://github.com/xcat2/xcat2-task-management/issues/221 fix the following issue:
1, if host is long host name, add "ip long_hostname short_hostname" into /etc/hosts 2, enhance find_line function. In the old code, "key in line" expand the scope. Use regex in new code to exact match the word.
Anyway, I will merge this one.
for https://github.com/xcat2/xcat2-task-management/issues/221 fix the following issue:
1, if host is long host name, add "ip long_hostname short_hostname" into /etc/hosts 2, enhance find_line function. In the old code, "key in line" expand the scope. Use regex in new code to exact match the word.