mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Don't rename /nsm/docker-registry
This commit is contained in:
@@ -1405,7 +1405,7 @@ reinstall_init() {
|
||||
# Backup /nsm for the same reason
|
||||
while IFS= read -r -d '' dir; do
|
||||
mv "$dir" "${dir}_old_${date_string}"
|
||||
done < <(find /nsm -maxdepth 1 -mindepth 1 -type d -print0)
|
||||
done < <(find /nsm -maxdepth 1 -mindepth 1 -type d -not -path "/nsm/docker-registry" -print0)
|
||||
|
||||
# Remove the old launcher package in case the config changes
|
||||
remove_package launcher-final
|
||||
|
||||
Reference in New Issue
Block a user