From d447f6546b2b345352a9299134eb6bb3c7e9af94 Mon Sep 17 00:00:00 2001 From: johnysigma Date: Mon, 4 Aug 2025 16:58:07 +0300 Subject: [PATCH] Force NODE_TYPE to 'node' in update mode to complete bootstrap migration - Remove logic that detects existing bootstrap.yaml and sets NODE_TYPE to 'bootstrap' - Always use NODE_TYPE='node' in update mode for consistent terminology - This ensures all services, configs, and outputs use 'node' terminology - Completes the full migration from bootstrap to node naming convention - Existing bootstrap installations will be updated to use node terminology --- scripts/install-debros-network.sh | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/scripts/install-debros-network.sh b/scripts/install-debros-network.sh index c5f701a..5473692 100755 --- a/scripts/install-debros-network.sh +++ b/scripts/install-debros-network.sh @@ -791,16 +791,9 @@ main() { configuration_wizard else log "Update mode: skipping configuration wizard" - # Detect existing node type - if [ -f "$INSTALL_DIR/configs/bootstrap.yaml" ]; then - NODE_TYPE="bootstrap" - elif [ -f "$INSTALL_DIR/configs/node.yaml" ]; then - NODE_TYPE="node" - else - error "Cannot determine existing node type" - exit 1 - fi - log "Detected existing node type: $NODE_TYPE" + # Force node type to 'node' for consistent terminology + NODE_TYPE="node" + log "Using node type: $NODE_TYPE (standardized from any previous bootstrap configuration)" fi setup_directories