mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-14 05:02:52 +01:00
Fix setup
This commit is contained in:
@@ -1198,8 +1198,8 @@ manager_global() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$DOCKERNET" ]; then
|
if [ -z "$DOCKERNET" ]; then
|
||||||
DOCKERNET=172.17.0.0
|
DOCKERNET=172.17.0.0
|
||||||
DOCKERBIP=$(echo $DOCKERNET | awk -F'.' '{print $1,$2,$3,1}' OFS='.')/24
|
DOCKERBIP=$(echo $DOCKERNET | awk -F'.' '{print $1,$2,$3,1}' OFS='.')/24
|
||||||
else
|
else
|
||||||
DOCKERBIP=$(echo $DOCKERNET | awk -F'.' '{print $1,$2,$3,1}' OFS='.')/24
|
DOCKERBIP=$(echo $DOCKERNET | awk -F'.' '{print $1,$2,$3,1}' OFS='.')/24
|
||||||
fi
|
fi
|
||||||
@@ -1279,9 +1279,9 @@ manager_global() {
|
|||||||
" 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"\
|
||||||
" cluster_routing_allocation_disk_watermark_low: '95%'"\
|
" cluster_routing_allocation_disk_watermark_low: '95%'"\
|
||||||
" cluster_routing_allocation_disk_watermark_high: '98%'"\
|
" cluster_routing_allocation_disk_watermark_high: '98%'"\
|
||||||
" cluster_routing_allocation_disk_watermark_flood_stage: '98%'"\
|
" cluster_routing_allocation_disk_watermark_flood_stage: '98%'"\
|
||||||
" index_settings:"\
|
" index_settings:"\
|
||||||
" so-beats:"\
|
" so-beats:"\
|
||||||
" shards: 1"\
|
" shards: 1"\
|
||||||
@@ -1351,7 +1351,7 @@ manager_global() {
|
|||||||
" - windows"\
|
" - windows"\
|
||||||
"docker:"\
|
"docker:"\
|
||||||
" range: '$DOCKERNET/24'"\
|
" range: '$DOCKERNET/24'"\
|
||||||
" bip: '$DOCKERBIP"
|
" bip: '$DOCKERBIP'"\
|
||||||
"redis_settings:"\
|
"redis_settings:"\
|
||||||
" redis_maxmemory: 812" >> "$global_pillar"
|
" redis_maxmemory: 812" >> "$global_pillar"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user