mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Move node address/desc into the minion pillar
This commit is contained in:
@@ -1042,6 +1042,9 @@ host_pillar() {
|
|||||||
printf '%s\n'\
|
printf '%s\n'\
|
||||||
"host:"\
|
"host:"\
|
||||||
" mainint: '$MNIC'"\
|
" mainint: '$MNIC'"\
|
||||||
|
"sensoroni:"\
|
||||||
|
" node_address: '$MAINIP'"\
|
||||||
|
" node_description: '$NODE_DESCRIPTION'"\
|
||||||
"" > "$pillar_file"
|
"" > "$pillar_file"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1205,8 +1208,6 @@ manager_global() {
|
|||||||
" imagerepo: '$IMAGEREPO'"\
|
" imagerepo: '$IMAGEREPO'"\
|
||||||
" pipeline: 'redis'"\
|
" pipeline: 'redis'"\
|
||||||
"sensoroni:"\
|
"sensoroni:"\
|
||||||
" node_address: '$MAINIP'"\
|
|
||||||
" node_description: '$NODE_DESCRIPTION'"\
|
|
||||||
" node_checkin_interval_ms: $NODE_CHECKIN_INTERVAL_MS"\
|
" node_checkin_interval_ms: $NODE_CHECKIN_INTERVAL_MS"\
|
||||||
"strelka:"\
|
"strelka:"\
|
||||||
" enabled: $STRELKA"\
|
" enabled: $STRELKA"\
|
||||||
|
|||||||
Reference in New Issue
Block a user