Change tarball location

This commit is contained in:
Mike Reeves
2020-04-23 10:29:09 -04:00
parent eaf54781e8
commit 4197bfb348

View File

@@ -626,7 +626,7 @@ docker_seed_registry() {
"so-zeek:$VERSION" )
fi
if [ ! -f /nsm/docker-registry/docker/so-dockers-$VERSION.tar ]; then
if [ ! -f /nsm/docker-registry/docker/registry.tar ]; then
# Download the container from the interwebs
for i in "${TRUSTED_CONTAINERS[@]}"
do
@@ -646,8 +646,8 @@ docker_seed_registry() {
else
# We already have the goods son
cd /nsm/docker-registry/docker
tar xvf so-dockers-$VERSION.tar
rm /nsm/docker-registry/docker/so-dockers-$VERSION.tar
tar xvf registry.tar
rm /nsm/docker-registry/docker/registry.tar
fi
}