mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
[fix] new_setup -> manager_setup
This commit is contained in:
@@ -922,15 +922,15 @@ docker_seed_registry() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
download_repo_tarball() {
|
download_repo_tarball() {
|
||||||
scp -i /root/.ssh/so.key soremote@"$MSRV":/opt/so/repo/"$manager_ver".tar.gz /root/new_setup
|
scp -i /root/.ssh/so.key soremote@"$MSRV":/opt/so/repo/"$manager_ver".tar.gz /root/manager_setup
|
||||||
|
|
||||||
# Fail if the file doesn't download
|
# Fail if the file doesn't download
|
||||||
if ! [ -f /root/new_setup/"$manager_ver".tar.gz ]; then
|
if ! [ -f /root/manager_setup/"$manager_ver".tar.gz ]; then
|
||||||
kill -SIGUSR1 "$(ps --pid $$ -oppid=)"; exit 1
|
kill -SIGUSR1 "$(ps --pid $$ -oppid=)"; exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tar -xzf /root/new_setup/"$manager_ver".tar.gz -C /root/new_setup/securityonion
|
tar -xzf /root/manager_setup/"$manager_ver".tar.gz -C /root/manager_setup/securityonion
|
||||||
rm -rf /root/new_setup/"$manager_ver".tar.gz
|
rm -rf /root/manager_setup/"$manager_ver".tar.gz
|
||||||
}
|
}
|
||||||
|
|
||||||
fireeye_pillar() {
|
fireeye_pillar() {
|
||||||
|
|||||||
Reference in New Issue
Block a user