mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Fix registry unpack for ISO
This commit is contained in:
@@ -626,7 +626,7 @@ docker_registry() {
|
|||||||
docker_seed_registry() {
|
docker_seed_registry() {
|
||||||
local VERSION="HH$SOVERSION"
|
local VERSION="HH$SOVERSION"
|
||||||
|
|
||||||
if ! [ -f /nsm/docker-registry/docker/so-dockers-"$VERSION".tar ]; then
|
if ! [ -f /nsm/docker-registry/docker/registry.tar ]; then
|
||||||
local TRUSTED_CONTAINERS=(\
|
local TRUSTED_CONTAINERS=(\
|
||||||
"so-core:$VERSION" \
|
"so-core:$VERSION" \
|
||||||
"so-filebeat:$VERSION" \
|
"so-filebeat:$VERSION" \
|
||||||
@@ -686,8 +686,8 @@ docker_seed_registry() {
|
|||||||
} >> "$setup_log" 2>&1
|
} >> "$setup_log" 2>&1
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
tar xvf /nsm/docker-registry/docker/so-dockers-$VERSION.tar >> "$setup_log" 2>&1
|
tar xvf /nsm/docker-registry/docker/registry.tar >> "$setup_log" 2>&1
|
||||||
rm /nsm/docker-registry/docker/so-dockers-$VERSION.tar >> "$setup_log" 2>&1
|
rm /nsm/docker-registry/docker/registry.tar >> "$setup_log" 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user