mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
Common module - Added workaround for docker net
This commit is contained in:
@@ -64,6 +64,12 @@ docker:
|
|||||||
# - name: so-elastic-net
|
# - name: so-elastic-net
|
||||||
# - driver: bridge
|
# - driver: bridge
|
||||||
|
|
||||||
|
# dockernet work around
|
||||||
|
dockernet:
|
||||||
|
cmd.script:
|
||||||
|
- source: salt://common/scripts/dockernet.sh
|
||||||
|
|
||||||
|
|
||||||
# Snag the so-core docker
|
# Snag the so-core docker
|
||||||
toosmooth/so-core:test2:
|
toosmooth/so-core:test2:
|
||||||
docker_image.present
|
docker_image.present
|
||||||
|
|||||||
3
salt/common/scripts/dockernet.sh
Normal file
3
salt/common/scripts/dockernet.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/#!/usr/bin/env bash
|
||||||
|
|
||||||
|
docker network create -d bridge so-elastic-net
|
||||||
Reference in New Issue
Block a user