Merge pull request #7717 from Security-Onion-Solutions/m0duspwnens-salt-3004.1

use -r for bootstrap-salt for ubuntu
This commit is contained in:
Josh Patterson
2022-04-05 17:37:22 -04:00
committed by GitHub

View File

@@ -885,7 +885,7 @@ upgrade_salt() {
echo ""
set +e
run_check_net_err \
"sh $UPDATE_DIR/salt/salt/scripts/bootstrap-salt.sh -X -F -M -x python3 stable \"$NEWSALTVERSION\"" \
"sh $UPDATE_DIR/salt/salt/scripts/bootstrap-salt.sh -X -r -F -M -x python3 stable \"$NEWSALTVERSION\"" \
"Could not update salt, please check $SOUP_LOG for details."
set -e
echo "Applying apt hold for Salt."