Merge pull request #12335 from Security-Onion-Solutions/dougburks-patch-1

Update soup for 2.3.290
This commit is contained in:
Doug Burks
2024-02-09 11:18:59 -05:00
committed by GitHub

View File

@@ -581,6 +581,7 @@ preupgrade_changes() {
[[ "$INSTALLEDVERSION" == 2.3.250 ]] && up_to_2.3.260
[[ "$INSTALLEDVERSION" == 2.3.260 ]] && up_to_2.3.270
[[ "$INSTALLEDVERSION" == 2.3.270 ]] && up_to_2.3.280
[[ "$INSTALLEDVERSION" == 2.3.280 ]] && up_to_2.3.290
true
}
@@ -614,6 +615,7 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.3.250 ]] && post_to_2.3.260
[[ "$POSTVERSION" == 2.3.260 ]] && post_to_2.3.270
[[ "$POSTVERSION" == 2.3.270 ]] && post_to_2.3.280
[[ "$POSTVERSION" == 2.3.280 ]] && post_to_2.3.290
true
}
@@ -784,6 +786,10 @@ post_to_2.3.280() {
POSTVERSION=2.3.280
}
post_to_2.3.290() {
echo "Nothing to do for .290"
POSTVERSION=2.3.290
}
stop_salt_master() {
# kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts
@@ -1155,6 +1161,11 @@ up_to_2.3.280() {
INSTALLEDVERSION=2.3.280
}
up_to_2.3.290() {
echo "Upgrading to 2.3.290"
INSTALLEDVERSION=2.3.290
}
verify_upgradespace() {
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
if [ "$CURRENTSPACE" -lt "10" ]; then