LSHEAP and pipeline workers for virt

This commit is contained in:
m0duspwnens
2024-08-28 10:09:42 -04:00
parent 301894f6e8
commit 9ddccba780
4 changed files with 18 additions and 4 deletions

View File

@@ -44,6 +44,10 @@ for i in "$@"; do
ES_HEAP_SIZE="${i#*=}"
shift
;;
-l=*|--lsheap=*)
LSHEAP="${i#*=}"
shift
;;
-n=*|--mgmtnic=*)
MNIC="${i#*=}"
shift
@@ -214,7 +218,7 @@ function add_logstash_to_minion() {
"logstash:"\
" enabled: True"\
" config:"\
" pipeline_x_workers: $CPUCORES"\
" pipeline_x_workers: $CORECOUNT"\
" settings:"\
" lsheap: $LSHEAP"\
" " >> $PILLARFILE