mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Update Registry to unpack new repo
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=1.1.4
|
VERSION=HH1.1.4
|
||||||
TARBALL=/nsm/docker-registry/docker/so-dockers-$VERSION.tar
|
TARBALL=/nsm/docker-registry/docker/so-dockers-$VERSION.tar
|
||||||
|
|
||||||
# See if the tarball is there. If so do soemthing otherwise peace out.
|
# See if the tarball is there. If so do soemthing otherwise peace out.
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ dockerregistrybuild:
|
|||||||
file.managed:
|
file.managed:
|
||||||
- name: /opt/so/conf/docker-registry/so-buildregistry
|
- name: /opt/so/conf/docker-registry/so-buildregistry
|
||||||
- source: salt://registry/bin/so-buildregistry
|
- source: salt://registry/bin/so-buildregistry
|
||||||
|
- mode: 755
|
||||||
|
|
||||||
dockerexpandregistry:
|
dockerexpandregistry:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
|
|||||||
@@ -490,7 +490,7 @@ docker_seed_registry() {
|
|||||||
"so-wazuh:$VERSION" \
|
"so-wazuh:$VERSION" \
|
||||||
"so-zeek:$VERSION" )
|
"so-zeek:$VERSION" )
|
||||||
|
|
||||||
if [ ! -f /nsm/docker-registry/docker/so-dockers-1.1.4.tar ]; then
|
if [ ! -f /nsm/docker-registry/docker/so-dockers-$VERSION.tar ]; then
|
||||||
# Download the container from the interwebs
|
# Download the container from the interwebs
|
||||||
for i in "${TRUSTED_CONTAINERS[@]}"
|
for i in "${TRUSTED_CONTAINERS[@]}"
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user