Update Registry to unpack new repo

This commit is contained in:
Mike Reeves
2020-01-23 11:09:55 -05:00
parent 2c619db6ad
commit bf6c309f16
3 changed files with 3 additions and 2 deletions

View File

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

View File

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

View File

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