mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-10 10:14:39 +01:00
es version shift
This commit is contained in:
@@ -144,7 +144,7 @@ update_docker_containers() {
|
||||
fi
|
||||
|
||||
if [[ " ${IMAGES_USING_ES_VERSION[*]} " =~ [[:space:]]${i}[[:space:]] ]]; then
|
||||
# use version defined in elasticsearch defaults.yaml if an es container
|
||||
# this is an es container so use version defined in elasticsearch defaults.yaml
|
||||
local UPDATE_DIR='/tmp/sogh/securityonion'
|
||||
if [ ! -d "$UPDATE_DIR" ]; then
|
||||
UPDATE_DIR=/securityonion
|
||||
@@ -160,7 +160,7 @@ update_docker_containers() {
|
||||
local highest_es_version=$(compare_es_versions "$v1" "$v2")
|
||||
local image=$i:$highest_es_version$IMAGE_TAG_SUFFIX
|
||||
else
|
||||
# use the so version for the version
|
||||
# this is not an es container so use the so version for the version
|
||||
local image=$i:$VERSION$IMAGE_TAG_SUFFIX
|
||||
fi
|
||||
# Pull down the trusted docker image
|
||||
|
||||
Reference in New Issue
Block a user