Fix for forced autodiscovery

This commit is contained in:
Eugene Rakhmatulin
2026-03-31 13:34:59 -07:00
parent 9370b2bb34
commit 287d3c72e5

View File

@@ -416,6 +416,8 @@ source "$(dirname "$0")/autodiscover.sh"
if [[ "${FORCE_DISCOVER:-false}" == "true" ]]; then if [[ "${FORCE_DISCOVER:-false}" == "true" ]]; then
# --setup: force full autodiscovery and save configuration # --setup: force full autodiscovery and save configuration
echo "Running full autodiscovery (--setup)..." echo "Running full autodiscovery (--setup)..."
# Clear pre-loaded values so detect functions run fresh instead of short-circuiting
ETH_IF="" IB_IF="" NODES_ARG="" LOCAL_IP=""
detect_interfaces || exit 1 detect_interfaces || exit 1
detect_local_ip || exit 1 detect_local_ip || exit 1
detect_nodes || exit 1 detect_nodes || exit 1