mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-10-06 12:09:07 +00:00
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
This commit is contained in:
parent
4f204a37f4
commit
d447f6546b
@ -791,16 +791,9 @@ main() {
|
|||||||
configuration_wizard
|
configuration_wizard
|
||||||
else
|
else
|
||||||
log "Update mode: skipping configuration wizard"
|
log "Update mode: skipping configuration wizard"
|
||||||
# Detect existing node type
|
# Force node type to 'node' for consistent terminology
|
||||||
if [ -f "$INSTALL_DIR/configs/bootstrap.yaml" ]; then
|
|
||||||
NODE_TYPE="bootstrap"
|
|
||||||
elif [ -f "$INSTALL_DIR/configs/node.yaml" ]; then
|
|
||||||
NODE_TYPE="node"
|
NODE_TYPE="node"
|
||||||
else
|
log "Using node type: $NODE_TYPE (standardized from any previous bootstrap configuration)"
|
||||||
error "Cannot determine existing node type"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
log "Detected existing node type: $NODE_TYPE"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
setup_directories
|
setup_directories
|
||||||
|
Loading…
x
Reference in New Issue
Block a user