mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-27 06:57:50 +02:00
Refactor so-test and so-tcpreplay to be compatible with SO 2.3.20+; Change hive_init and cortex_init to initialize the cortex and fleet services directly on the manager IP instead of attempting to use the public URL
This commit is contained in:
+3
-12
@@ -3,18 +3,6 @@
|
||||
{% set IMAGEREPO = salt['pillar.get']('global:imagerepo') %}
|
||||
{% set MANAGER = salt['grains.get']('master') %}
|
||||
|
||||
so-tcpreplayimage:
|
||||
cmd.run:
|
||||
- name: docker pull --disable-content-trust=false docker.io/{{ IMAGEREPO }}/so-tcpreplay:{{ VERSION }}
|
||||
|
||||
so-tcpreplaytag:
|
||||
cmd.run:
|
||||
- name: docker tag {{ IMAGEREPO }}/so-tcpreplay:{{ VERSION }} {{ MANAGER }}:5000/{{ IMAGEREPO }}/so-tcpreplay:{{ VERSION }}
|
||||
|
||||
so-tcpreplaypush:
|
||||
cmd.run:
|
||||
- name: docker push {{ MANAGER }}:5000/{{ IMAGEREPO }}/so-tcpreplay:{{ VERSION }}
|
||||
|
||||
so-tcpreplay:
|
||||
docker_container.running:
|
||||
- network_mode: "host"
|
||||
@@ -23,6 +11,9 @@ so-tcpreplay:
|
||||
- user: root
|
||||
- interactive: True
|
||||
- tty: True
|
||||
- binds:
|
||||
- /opt/so/samples:/opt/so/samples:ro
|
||||
|
||||
|
||||
{% else %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user