mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-20 16:03:06 +01:00
elastic agent upgrade prereq
This commit is contained in:
@@ -802,9 +802,6 @@ up_to_2.4.130() {
|
|||||||
# Remove any old Elastic Defend config files
|
# Remove any old Elastic Defend config files
|
||||||
rm -f /opt/so/conf/elastic-fleet/integrations/endpoints-initial/elastic-defend-endpoints.json
|
rm -f /opt/so/conf/elastic-fleet/integrations/endpoints-initial/elastic-defend-endpoints.json
|
||||||
|
|
||||||
# Elastic Update for this release, so download Elastic Agent files
|
|
||||||
determine_elastic_agent_upgrade
|
|
||||||
|
|
||||||
# Ensure override exists to allow nmcli access to other devices
|
# Ensure override exists to allow nmcli access to other devices
|
||||||
touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
|
touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
|
||||||
|
|
||||||
@@ -847,6 +844,9 @@ up_to_2.4.170() {
|
|||||||
touch /opt/so/saltstack/local/pillar/$state/adv_$state.sls /opt/so/saltstack/local/pillar/$state/soc_$state.sls
|
touch /opt/so/saltstack/local/pillar/$state/adv_$state.sls /opt/so/saltstack/local/pillar/$state/soc_$state.sls
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Elastic Update for this release, so download Elastic Agent files
|
||||||
|
determine_elastic_agent_upgrade
|
||||||
|
|
||||||
INSTALLEDVERSION=2.4.170
|
INSTALLEDVERSION=2.4.170
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user