move highstate messages for more accurate final highstate message

This commit is contained in:
m0duspwnens
2022-01-11 13:41:51 -05:00
parent 0ef130bd38
commit 5ade8193f0

View File

@@ -1077,7 +1077,7 @@ main() {
fi
echo ""
echo "Running a highstate to complete the Security Onion upgrade on this manager. This could take several minutes."
echo "Running a highstate. This could take several minutes."
set +e
salt-call state.highstate -l info queue=True
set -e
@@ -1097,7 +1097,7 @@ main() {
salt-call state.show_top -l error queue=True || fail "salt-master could not be reached. Check $SOUP_LOG for details."
set -e
echo "Running a highstate. This could take several minutes."
echo "Running a highstate to complete the Security Onion upgrade on this manager. This could take several minutes."
salt-call state.highstate -l info queue=True
postupgrade_changes
[[ $is_airgap -eq 0 ]] && unmount_update