mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Install registry if the image is local
This commit is contained in:
@@ -940,6 +940,15 @@ install_cleanup() {
|
||||
|
||||
}
|
||||
|
||||
import_registry_docker() {
|
||||
if [ -f /nsm/docker-registry/docker/registry_image.tar ]; then
|
||||
service docker start
|
||||
docker import /nsm/docker-registry/docker/registry_image.tar registry:2
|
||||
else
|
||||
echo "Need to download registry"
|
||||
fi
|
||||
}
|
||||
|
||||
manager_pillar() {
|
||||
|
||||
local pillar_file=$temp_install_dir/pillar/minions/$MINION_ID.sls
|
||||
|
||||
Reference in New Issue
Block a user