Add dynamic ability for IP range for sosnet

This commit is contained in:
Mike Reeves
2022-11-14 20:20:38 -05:00
parent e41361e127
commit 6016b0e38a
6 changed files with 45 additions and 6 deletions

View File

@@ -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 }}