Adding airgap hotfix

This commit is contained in:
Mike Reeves
2021-05-03 15:02:51 -04:00
parent f56244d708
commit 074fe46e90

View File

@@ -721,18 +721,19 @@ upgrade_space
echo "Checking for Salt Master and Minion updates." echo "Checking for Salt Master and Minion updates."
upgrade_check_salt upgrade_check_salt
echo ""
echo "Performing upgrade from Security Onion $INSTALLEDVERSION to Security Onion $NEWVERSION."
echo ""
if [[ $is_hotfix ]]; then if [[ $is_hotfix ]]; then
echo "Do Hotfix Things" echo "Applying $HOTFIXVERSION"
copy_new_files copy_new_files
echo "" echo ""
update_version update_version
salt-call state.highstate -l info queue=True salt-call state.highstate -l info queue=True
else else
echo ""
echo "Performing upgrade from Security Onion $INSTALLEDVERSION to Security Onion $NEWVERSION."
echo ""
echo "Updating dockers to $NEWVERSION." echo "Updating dockers to $NEWVERSION."
if [ $is_airgap -eq 0 ]; then if [ $is_airgap -eq 0 ]; then
airgap_update_dockers airgap_update_dockers