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

Update soup for 2.3.210
This commit is contained in:
Doug Burks
2023-01-30 09:17:47 -05:00
committed by GitHub

View File

@@ -552,6 +552,7 @@ preupgrade_changes() {
[[ "$INSTALLEDVERSION" == 2.3.181 ]] && up_to_2.3.182
[[ "$INSTALLEDVERSION" == 2.3.182 ]] && up_to_2.3.190
[[ "$INSTALLEDVERSION" == 2.3.190 ]] && up_to_2.3.200
[[ "$INSTALLEDVERSION" == 2.3.200 ]] && up_to_2.3.210
true
}
@@ -576,6 +577,7 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.3.181 ]] && post_to_2.3.182
[[ "$POSTVERSION" == 2.3.182 ]] && post_to_2.3.190
[[ "$POSTVERSION" == 2.3.190 ]] && post_to_2.3.200
[[ "$POSTVERSION" == 2.3.200 ]] && post_to_2.3.210
true
}
@@ -699,6 +701,11 @@ post_to_2.3.200() {
POSTVERSION=2.3.200
}
post_to_2.3.210() {
echo "Nothing to do for .210"
POSTVERSION=2.3.210
}
stop_salt_master() {
# kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts
set +e
@@ -1029,6 +1036,11 @@ up_to_2.3.200() {
INSTALLEDVERSION=2.3.200
}
up_to_2.3.210() {
echo "Upgrading to 2.3.210"
INSTALLEDVERSION=2.3.210
}
verify_upgradespace() {
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
if [ "$CURRENTSPACE" -lt "10" ]; then