mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Update node.cfg.jinja
This commit is contained in:
@@ -16,10 +16,10 @@ type=worker
|
|||||||
host=localhost
|
host=localhost
|
||||||
interface=af_packet::{{ NODE.interface }}
|
interface=af_packet::{{ NODE.interface }}
|
||||||
lb_method=custom
|
lb_method=custom
|
||||||
{%- if NODE.lb_procs %}
|
{%- if NODE.pins %}
|
||||||
lb_procs={{ NODE.lb_procs }}
|
|
||||||
{%- else %}
|
|
||||||
lb_procs={{ NODE.pins | length }}
|
lb_procs={{ NODE.pins | length }}
|
||||||
|
{%- else %}
|
||||||
|
lb_procs={{ NODE.lb_procs }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if NODE.pins %}
|
{%- if NODE.pins %}
|
||||||
pin_cpus={{ NODE.pins | join(", ") }}
|
pin_cpus={{ NODE.pins | join(", ") }}
|
||||||
|
|||||||
Reference in New Issue
Block a user