Attempt to fix 2.3 when main repo changes

This commit is contained in:
Mike Reeves
2024-04-04 08:48:44 -04:00
parent 12da7db22c
commit 14c824143b
2 changed files with 7 additions and 11 deletions
-11
View File
@@ -837,17 +837,6 @@ main() {
echo "### Preparing soup at $(date) ###"
echo ""
if [[ "$INSTALLEDVERSION" =~ ^2.3 ]]; then
echo "Actually running the code"
BRANCH="2.3/main"
cd $UPDATE_DIR
clone_to_tmp
cp $UPDATE_DIR/securityonion/salt/common/tools/sbin/soup /usr/sbin
cp $UPDATE_DIR/securityonion/salt/common/tools/sbin/soup /opt/so/saltstack/default/salt/common/tools/sbin
add_common
echo "Please run soup again"
exit 0
fi
set_os
check_salt_master_status 1 || fail "Could not talk to salt master: Please run 'systemctl status salt-master' to ensure the salt-master service is running and check the log at /opt/so/log/salt/master."