mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 03:32:53 +01:00
Merge pull request #11075 from Security-Onion-Solutions/2.4/soupmods
Add soup for 2.4.20
This commit is contained in:
@@ -394,6 +394,7 @@ preupgrade_changes() {
|
|||||||
[[ "$INSTALLEDVERSION" == 2.4.3 ]] && up_to_2.4.4
|
[[ "$INSTALLEDVERSION" == 2.4.3 ]] && up_to_2.4.4
|
||||||
[[ "$INSTALLEDVERSION" == 2.4.4 ]] && up_to_2.4.5
|
[[ "$INSTALLEDVERSION" == 2.4.4 ]] && up_to_2.4.5
|
||||||
[[ "$INSTALLEDVERSION" == 2.4.5 ]] && up_to_2.4.10
|
[[ "$INSTALLEDVERSION" == 2.4.5 ]] && up_to_2.4.10
|
||||||
|
[[ "$INSTALLEDVERSION" == 2.4.10 ]] && up_to_2.4.20
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -405,6 +406,7 @@ postupgrade_changes() {
|
|||||||
[[ "$POSTVERSION" == 2.4.3 ]] && post_to_2.4.4
|
[[ "$POSTVERSION" == 2.4.3 ]] && post_to_2.4.4
|
||||||
[[ "$POSTVERSION" == 2.4.4 ]] && post_to_2.4.5
|
[[ "$POSTVERSION" == 2.4.4 ]] && post_to_2.4.5
|
||||||
[[ "$POSTVERSION" == 2.4.5 ]] && post_to_2.4.10
|
[[ "$POSTVERSION" == 2.4.5 ]] && post_to_2.4.10
|
||||||
|
[[ "$POSTVERSION" == 2.4.10 ]] && post_to_2.4.20
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -430,6 +432,11 @@ post_to_2.4.10() {
|
|||||||
POSTVERSION=2.4.10
|
POSTVERSION=2.4.10
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_to_2.4.20() {
|
||||||
|
echo "Nothing to apply"
|
||||||
|
POSTVERSION=2.4.20
|
||||||
|
}
|
||||||
|
|
||||||
stop_salt_master() {
|
stop_salt_master() {
|
||||||
# kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts
|
# kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts
|
||||||
set +e
|
set +e
|
||||||
@@ -496,6 +503,12 @@ up_to_2.4.10() {
|
|||||||
INSTALLEDVERSION=2.4.10
|
INSTALLEDVERSION=2.4.10
|
||||||
}
|
}
|
||||||
|
|
||||||
|
up_to_2.4.20() {
|
||||||
|
echo "Nothing to do for 2.4.20"
|
||||||
|
|
||||||
|
INSTALLEDVERSION=2.4.20
|
||||||
|
}
|
||||||
|
|
||||||
determine_elastic_agent_upgrade() {
|
determine_elastic_agent_upgrade() {
|
||||||
if [[ $is_airgap -eq 0 ]]; then
|
if [[ $is_airgap -eq 0 ]]; then
|
||||||
update_elastic_agent_airgap
|
update_elastic_agent_airgap
|
||||||
|
|||||||
Reference in New Issue
Block a user