mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
fix clustername redirect
This commit is contained in:
@@ -1724,7 +1724,7 @@ manager_global() {
|
|||||||
" hot_warm: False"\
|
" hot_warm: False"\
|
||||||
"elastic:"\
|
"elastic:"\
|
||||||
" features: False"\
|
" features: False"\
|
||||||
"elasticsearch:"\
|
"elasticsearch:"\ >> "$global_pillar"
|
||||||
if [ -n "$ESCLUSTERNAME" ]; then
|
if [ -n "$ESCLUSTERNAME" ]; then
|
||||||
printf '%s\n'\
|
printf '%s\n'\
|
||||||
" true_cluster: True"\
|
" true_cluster: True"\
|
||||||
@@ -1735,8 +1735,9 @@ manager_global() {
|
|||||||
printf '%s\n'\
|
printf '%s\n'\
|
||||||
" true_cluster: False" >> "$global_pillar"
|
" true_cluster: False" >> "$global_pillar"
|
||||||
fi
|
fi
|
||||||
" replicas: 0" >> "$global_pillar"
|
|
||||||
printf '%s\n'\
|
printf '%s\n'\
|
||||||
|
" replicas: 0"\
|
||||||
" discovery_nodes: 1"\
|
" discovery_nodes: 1"\
|
||||||
" hot_warm_enabled: False"\
|
" hot_warm_enabled: False"\
|
||||||
" cluster_routing_allocation_disk.threshold_enabled: true"\
|
" cluster_routing_allocation_disk.threshold_enabled: true"\
|
||||||
|
|||||||
Reference in New Issue
Block a user