mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #8061 from Security-Onion-Solutions/soup130
soup for 130
This commit is contained in:
@@ -423,6 +423,7 @@ preupgrade_changes() {
|
|||||||
[[ "$INSTALLEDVERSION" == 2.3.90 || "$INSTALLEDVERSION" == 2.3.91 ]] && up_to_2.3.100
|
[[ "$INSTALLEDVERSION" == 2.3.90 || "$INSTALLEDVERSION" == 2.3.91 ]] && up_to_2.3.100
|
||||||
[[ "$INSTALLEDVERSION" == 2.3.100 ]] && up_to_2.3.110
|
[[ "$INSTALLEDVERSION" == 2.3.100 ]] && up_to_2.3.110
|
||||||
[[ "$INSTALLEDVERISON" == 2.3.110 ]] && up_to_2.3.120
|
[[ "$INSTALLEDVERISON" == 2.3.110 ]] && up_to_2.3.120
|
||||||
|
[[ "$INSTALLEDVERISON" == 2.3.120 ]] && up_to_2.3.130
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -437,6 +438,8 @@ postupgrade_changes() {
|
|||||||
[[ "$POSTVERSION" == 2.3.90 || "$POSTVERSION" == 2.3.91 ]] && post_to_2.3.100
|
[[ "$POSTVERSION" == 2.3.90 || "$POSTVERSION" == 2.3.91 ]] && post_to_2.3.100
|
||||||
[[ "$POSTVERSION" == 2.3.100 ]] && post_to_2.3.110
|
[[ "$POSTVERSION" == 2.3.100 ]] && post_to_2.3.110
|
||||||
[[ "$POSTVERSION" == 2.3.110 ]] && post_to_2.3.120
|
[[ "$POSTVERSION" == 2.3.110 ]] && post_to_2.3.120
|
||||||
|
[[ "$POSTVERSION" == 2.3.130 ]] && post_to_2.3.130
|
||||||
|
|
||||||
|
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
@@ -507,6 +510,11 @@ post_to_2.3.120() {
|
|||||||
sed -i '/so-thehive-es/d;/so-thehive/d;/so-cortex/d' /opt/so/conf/so-status/so-status.conf
|
sed -i '/so-thehive-es/d;/so-thehive/d;/so-cortex/d' /opt/so/conf/so-status/so-status.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_to_2.3.130() {
|
||||||
|
echo "Post Processing for 2.3.130"
|
||||||
|
POSTVERSION=2.3.130
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
stop_salt_master() {
|
stop_salt_master() {
|
||||||
@@ -767,6 +775,11 @@ up_to_2.3.120() {
|
|||||||
so-cortex-stop
|
so-cortex-stop
|
||||||
}
|
}
|
||||||
|
|
||||||
|
up_to_2.3.130() {
|
||||||
|
# Remove file for nav update
|
||||||
|
rm -f /opt/so/conf/navigator/layers/nav_layer_playbook.json
|
||||||
|
}
|
||||||
|
|
||||||
verify_upgradespace() {
|
verify_upgradespace() {
|
||||||
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
|
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
|
||||||
if [ "$CURRENTSPACE" -lt "10" ]; then
|
if [ "$CURRENTSPACE" -lt "10" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user