2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-08 10:32:56 +00:00
Files
xcat-core/xCAT-server/lib
Vinícius Ferrão 4eacca2c9d fix(dhcp): stop an omshell query at its deadline
_run_omshell stops omshell after 10 seconds, but it read the output a
line at a time. A line read waits for a newline, and omshell writes its
prompt without one. An omshell that stalled after a prompt kept makedhcp
waiting past the deadline. The check of an external ISC server does that
read while it holds the DHCP lock.

_run_omshell now reads the output in chunks.
2026-10-02 23:58:15 -03:00
..