mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #13792 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update soup
This commit is contained in:
@@ -402,6 +402,7 @@ preupgrade_changes() {
|
|||||||
[[ "$INSTALLEDVERSION" == 2.4.70 ]] && up_to_2.4.80
|
[[ "$INSTALLEDVERSION" == 2.4.70 ]] && up_to_2.4.80
|
||||||
[[ "$INSTALLEDVERSION" == 2.4.80 ]] && up_to_2.4.90
|
[[ "$INSTALLEDVERSION" == 2.4.80 ]] && up_to_2.4.90
|
||||||
[[ "$INSTALLEDVERSION" == 2.4.90 ]] && up_to_2.4.100
|
[[ "$INSTALLEDVERSION" == 2.4.90 ]] && up_to_2.4.100
|
||||||
|
[[ "$INSTALLEDVERSION" == 2.4.100 ]] && up_to_2.4.110
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -422,6 +423,7 @@ postupgrade_changes() {
|
|||||||
[[ "$POSTVERSION" == 2.4.70 ]] && post_to_2.4.80
|
[[ "$POSTVERSION" == 2.4.70 ]] && post_to_2.4.80
|
||||||
[[ "$POSTVERSION" == 2.4.80 ]] && post_to_2.4.90
|
[[ "$POSTVERSION" == 2.4.80 ]] && post_to_2.4.90
|
||||||
[[ "$POSTVERSION" == 2.4.90 ]] && post_to_2.4.100
|
[[ "$POSTVERSION" == 2.4.90 ]] && post_to_2.4.100
|
||||||
|
[[ "$POSTVERSION" == 2.4.100 ]] && post_to_2.4.110
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -509,6 +511,11 @@ post_to_2.4.100() {
|
|||||||
POSTVERSION=2.4.100
|
POSTVERSION=2.4.100
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_to_2.4.110() {
|
||||||
|
echo "Nothing to apply"
|
||||||
|
POSTVERSION=2.4.110
|
||||||
|
}
|
||||||
|
|
||||||
repo_sync() {
|
repo_sync() {
|
||||||
echo "Sync the local repo."
|
echo "Sync the local repo."
|
||||||
su socore -c '/usr/sbin/so-repo-sync' || fail "Unable to complete so-repo-sync."
|
su socore -c '/usr/sbin/so-repo-sync' || fail "Unable to complete so-repo-sync."
|
||||||
@@ -691,6 +698,11 @@ up_to_2.4.100() {
|
|||||||
determine_elastic_agent_upgrade
|
determine_elastic_agent_upgrade
|
||||||
INSTALLEDVERSION=2.4.100
|
INSTALLEDVERSION=2.4.100
|
||||||
}
|
}
|
||||||
|
up_to_2.4.110() {
|
||||||
|
echo "Nothing to do for 2.4.110"
|
||||||
|
|
||||||
|
INSTALLEDVERSION=2.4.110
|
||||||
|
}
|
||||||
|
|
||||||
add_detection_test_pillars() {
|
add_detection_test_pillars() {
|
||||||
if [[ -n "$SOUP_INTERNAL_TESTING" ]]; then
|
if [[ -n "$SOUP_INTERNAL_TESTING" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user