mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-08-03 16:06:59 +00:00
6d6ace51b4
When nodehm.conserver is a hostname, rcons compared that name directly against the management node's local IP addresses, so the "conserver is this host" check never matched and rcons connected via `-s` (a remote confluent session) even when the conserver was the local host. Resolve the name to an address with getent first so the comparison works. Recovered from the unmerged lenovobuild branch (originalfaa767e5). Co-authored-by: Jarrod Johnson <10814490+jjohnson42@users.noreply.github.com> (cherry picked from commitbdf8ec36db)