mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-20 16:03:06 +01:00
Switch remaining containers over to new registries; Continued bash refactoring
This commit is contained in:
@@ -901,10 +901,7 @@ docker_seed_registry() {
|
||||
|
||||
docker_seed_update_percent=25
|
||||
|
||||
# Save output descriptors for use in docker_seed_registry_update function
|
||||
exec 10>&1 20>&2
|
||||
|
||||
update_docker_containers 'netinstall' '' 'docker_seed_update' >> "$setup_log" 2>&1
|
||||
update_docker_containers 'netinstall' '' 'docker_seed_update' "$setup_log"
|
||||
else
|
||||
tar xvf /nsm/docker-registry/docker/registry.tar -C /nsm/docker-registry/docker >> "$setup_log" 2>&1
|
||||
rm /nsm/docker-registry/docker/registry.tar >> "$setup_log" 2>&1
|
||||
|
||||
@@ -599,9 +599,9 @@ fi
|
||||
else
|
||||
set_progress_str 26 'Downloading containers from the internet'
|
||||
fi
|
||||
import_registry_docker >> $setup_log 2>&1
|
||||
import_registry_docker >> $setup_log 2>&1
|
||||
salt-call state.apply -l info registry >> $setup_log 2>&1
|
||||
docker_seed_registry 2>> "$setup_log" # ~ 60% when finished
|
||||
docker_seed_registry # ~ 60% when finished
|
||||
|
||||
set_progress_str 60 "$(print_salt_state_apply 'manager')"
|
||||
if [[ "$STRELKARULES" == 1 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user