Merge pull request #8968 from Security-Onion-Solutions/181soup

update soup for 2.3.181
This commit is contained in:
Jason Ertel
2022-10-21 12:00:58 -04:00
committed by GitHub

View File

@@ -548,6 +548,7 @@ preupgrade_changes() {
[[ "$INSTALLEDVERSION" == 2.3.150 ]] && up_to_2.3.160
[[ "$INSTALLEDVERSION" == 2.3.160 ]] && up_to_2.3.170
[[ "$INSTALLEDVERSION" == 2.3.170 ]] && up_to_2.3.180
[[ "$INSTALLEDVERSION" == 2.3.180 ]] && up_to_2.3.181
true
}
@@ -568,6 +569,7 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.3.150 ]] && post_to_2.3.160
[[ "$POSTVERSION" == 2.3.160 ]] && post_to_2.3.170
[[ "$POSTVERSION" == 2.3.170 ]] && post_to_2.3.180
[[ "$POSTVERSION" == 2.3.180 ]] && post_to_2.3.181
true
}
@@ -667,6 +669,10 @@ post_to_2.3.180() {
echo "Nothing to do for .180"
}
post_to_2.3.181() {
echo "Nothing to do for .181"
}
stop_salt_master() {
# kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts
set +e
@@ -961,6 +967,11 @@ up_to_2.3.180() {
INSTALLEDVERSION=2.3.180
}
up_to_2.3.181() {
echo "Upgrading to 2.3.181"
INSTALLEDVERSION=2.3.181
}
verify_upgradespace() {
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
if [ "$CURRENTSPACE" -lt "10" ]; then