mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-27 06:57:50 +02:00
Add dynamic ability for IP range for sosnet
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
docker:
|
||||
bip: 172.17.0.1/24
|
||||
bip: 172.17.0.1
|
||||
range: 172.17.0.0/24
|
||||
sosrange: 172.17.1.0/24
|
||||
sosbip: 172.17.1.1
|
||||
containers:
|
||||
'so-elasticsearch':
|
||||
final_octet: 22
|
||||
@@ -3,6 +3,8 @@
|
||||
# https://securityonion.net/license; you may not use this file except in compliance with the
|
||||
# Elastic License 2.0.
|
||||
|
||||
{% from 'docker/docker.map.jinja' import DOCKER %}
|
||||
|
||||
dockergroup:
|
||||
group.present:
|
||||
- name: docker
|
||||
@@ -50,3 +52,7 @@ dockerreserveports:
|
||||
- source: salt://common/files/99-reserved-ports.conf
|
||||
- name: /etc/sysctl.d/99-reserved-ports.conf
|
||||
|
||||
sosnet:
|
||||
docker_network.present:
|
||||
- subnet: {{ DOCKER.sosnet }}
|
||||
- gateway: {{ DOCKER.sosbip }}
|
||||
|
||||
Reference in New Issue
Block a user