mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Only allow reposync to run on managers
This commit is contained in:
@@ -7,6 +7,11 @@
|
|||||||
|
|
||||||
. /usr/sbin/so-common
|
. /usr/sbin/so-common
|
||||||
|
|
||||||
|
if [ ! -f /root/repodownload.conf ]; then
|
||||||
|
echo "This script should only run on the manager."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
set_version
|
set_version
|
||||||
set_os
|
set_os
|
||||||
salt_minion_count
|
salt_minion_count
|
||||||
|
|||||||
Reference in New Issue
Block a user