mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-08 10:32:56 +00:00
4eacca2c9d
_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.