From 71edddd846365ca2b26da258167f4315e829855e Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Thu, 23 Jan 2020 10:13:20 -0500 Subject: [PATCH] Update Registry to unpack new repo --- salt/registry/bin/so-buildregistry.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 salt/registry/bin/so-buildregistry.sh diff --git a/salt/registry/bin/so-buildregistry.sh b/salt/registry/bin/so-buildregistry.sh new file mode 100644 index 000000000..41e9a035d --- /dev/null +++ b/salt/registry/bin/so-buildregistry.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +VERSION=1.1.4 +TARBALL=/nsm/docker-registry/docker/so-dockers-$VERSION.tar + +# See if the tarball is there. If so do soemthing otherwise peace out. +if [ -f "$TARBALL" ]; then + cd /nsm/docker-registry/docker + tar xvf so-dockers-$VERSION.tar + rm $TARBALL +else + exit +fi