[fix] new_setup -> manager_setup

This commit is contained in:
William Wernert
2020-12-09 10:06:02 -05:00
parent 51650147ef
commit f3ce2fc71e

View File

@@ -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() {