From de14ec7ef0eaec68e46298b7c8685548ca367339 Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 19 Dec 2025 10:35:16 +0800 Subject: [PATCH 1/4] perf: change config name --- scripts/const.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/const.sh b/scripts/const.sh index 7daa484..ff03ddf 100644 --- a/scripts/const.sh +++ b/scripts/const.sh @@ -30,14 +30,14 @@ export DOCKER_VERSION=28.5.1 DOCKER_URL="https://download.docker.com/linux/static/stable" DOCKER_MIRROR="https://download.jumpserver.org/docker/docker-ce/linux/static/stable" -if [[ "${USE_MIRROR}" == "1" ]];then +if [[ "${DOCKER_IMAGE_MIRROR}" == "1" ]];then DOCKER_URL=${DOCKER_MIRROR} fi export DOCKER_COMPOSE_VERSION=v2.40.3 COMPOSE_URL="https://github.com/docker/compose/releases/download" COMPOSE_MIRROR="https://download.jumpserver.org/docker/compose/releases/download" -if [[ "${USE_MIRROR}" == "1" ]];then +if [[ "${DOCKER_IMAGE_MIRROR}" == "1" ]];then COMPOSE_URL=${COMPOSE_MIRROR} fi From 83660d974f10a950b65e98a813f6a8acff80d262 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Sun, 4 Jan 2026 15:50:19 +0800 Subject: [PATCH 2/4] feat: add timezone for wgg --- cn-quick_start.sh | 2 +- compose/es.yml | 2 +- compose/mariadb.yml | 2 +- compose/minio.yml | 2 +- compose/mysql.yml | 2 +- compose/postgres.yml | 2 +- compose/redis.yml | 2 +- compose/web.yml | 2 +- config-example.txt | 1 - jmsctl.sh | 10 +++++++- quick_start.sh | 2 +- scripts/0_prepare.sh | 4 +-- scripts/1_config_jumpserver.sh | 16 +++++++++++- scripts/2_install_docker.sh | 2 +- scripts/4_install_jumpserver.sh | 3 +++ scripts/7_upgrade.sh | 1 + scripts/utils.sh | 44 +++++++++++++++++++++++++-------- 17 files changed, 74 insertions(+), 25 deletions(-) diff --git a/cn-quick_start.sh b/cn-quick_start.sh index ace0470..05ffad2 100644 --- a/cn-quick_start.sh +++ b/cn-quick_start.sh @@ -34,7 +34,7 @@ function get_installer() { echo "download install script to /opt/jumpserver-installer-${VERSION}" cd /opt || exit 1 if [ ! -d "/opt/jumpserver-installer-${VERSION}" ]; then - timeout 60 wget -qO jumpserver-installer-${VERSION}.tar.gz ${DOWNLOAD_URL}/jumpserver/installer/releases/download/${VERSION}/jumpserver-installer-${VERSION}.tar.gz || { + timeout 60 wget --show-progress -qO jumpserver-installer-${VERSION}.tar.gz ${DOWNLOAD_URL}/jumpserver/installer/releases/download/${VERSION}/jumpserver-installer-${VERSION}.tar.gz || { rm -f /opt/jumpserver-installer-${VERSION}.tar.gz echo -e "[\033[31m ERROR \033[0m] Failed to download jumpserver-installer-${VERSION}" exit 1 diff --git a/compose/es.yml b/compose/es.yml index 656527e..ed20642 100644 --- a/compose/es.yml +++ b/compose/es.yml @@ -11,7 +11,7 @@ services: - ${VOLUME_DIR}/elasticsearch/data:/usr/share/elasticsearch/data - ${VOLUME_DIR}/elasticsearch/logs:/usr/share/elasticsearch/logs environment: - TZ: ${TZ:-Asia/Shanghai} + TZ: ${TIME_ZONE:-Asia/Shanghai} cluster.name: docker-cluster discovery.type: single-node network.host: 0.0.0.0 diff --git a/compose/mariadb.yml b/compose/mariadb.yml index 7002208..6abc74f 100644 --- a/compose/mariadb.yml +++ b/compose/mariadb.yml @@ -5,7 +5,7 @@ services: restart: always command: --character-set-server=utf8 --collation-server=utf8_general_ci environment: - TZ: ${TZ:-Asia/Shanghai} + TZ: ${TIME_ZONE:-Asia/Shanghai} DB_PORT: $DB_PORT MARIADB_ROOT_PASSWORD: $DB_PASSWORD MARIADB_DATABASE: $DB_NAME diff --git a/compose/minio.yml b/compose/minio.yml index 39a0cc9..9c97aef 100644 --- a/compose/minio.yml +++ b/compose/minio.yml @@ -6,7 +6,7 @@ services: restart: always command: "server /data --console-address :9001" environment: - TZ: ${TZ:-Asia/Shanghai} + TZ: ${TIME_ZONE:-Asia/Shanghai} MINIO_ROOT_USER: minio MINIO_ROOT_PASSWORD: $BOOTSTRAP_TOKEN MINIO_REGION_NAME: us-west-rack2 diff --git a/compose/mysql.yml b/compose/mysql.yml index 5f5b0cd..48b7110 100644 --- a/compose/mysql.yml +++ b/compose/mysql.yml @@ -5,7 +5,7 @@ services: restart: always command: --character-set-server=utf8 environment: - TZ: ${TZ:-Asia/Shanghai} + TZ: ${TIME_ZONE:-Asia/Shanghai} DB_PORT: $DB_PORT MYSQL_ROOT_PASSWORD: $DB_PASSWORD MYSQL_DATABASE: $DB_NAME diff --git a/compose/postgres.yml b/compose/postgres.yml index 19aa293..76ba1a7 100644 --- a/compose/postgres.yml +++ b/compose/postgres.yml @@ -4,7 +4,7 @@ services: container_name: jms_postgresql restart: always environment: - TZ: ${TZ:-Asia/Shanghai} + TZ: ${TIME_ZONE:-Asia/Shanghai} POSTGRES_DB: $DB_NAME POSTGRES_USER: $DB_USER POSTGRES_PASSWORD: $DB_PASSWORD diff --git a/compose/redis.yml b/compose/redis.yml index 00eeaf5..a7c8c12 100644 --- a/compose/redis.yml +++ b/compose/redis.yml @@ -6,7 +6,7 @@ services: restart: always command: ["redis-server", "/etc/redis.conf", "--requirepass", "$REDIS_PASSWORD"] environment: - TZ: ${TZ:-Asia/Shanghai} + TZ: ${TIME_ZONE:-Asia/Shanghai} REDIS_PORT: $REDIS_PORT REDIS_PASSWORD: $REDIS_PASSWORD volumes: diff --git a/compose/web.yml b/compose/web.yml index 288e23a..4330549 100644 --- a/compose/web.yml +++ b/compose/web.yml @@ -7,7 +7,7 @@ services: core: 0 restart: always environment: - TZ: ${TZ:-Asia/Shanghai} + TZ: ${TIME_ZONE:-Asia/Shanghai} HTTP_PORT: ${HTTP_PORT:-80} USE_LB: ${USE_LB:-1} USE_IPV6: ${USE_IPV6:-0} diff --git a/config-example.txt b/config-example.txt index 02da150..68f0629 100644 --- a/config-example.txt +++ b/config-example.txt @@ -160,6 +160,5 @@ USE_LB=1 # The current running version number of JumpServer, automatically generated after installation and upgrade # -TZ=Asia/Shanghai TIME_ZONE=Asia/Shanghai CURRENT_VERSION= diff --git a/jmsctl.sh b/jmsctl.sh index 4c60a1c..68feb5a 100755 --- a/jmsctl.sh +++ b/jmsctl.sh @@ -149,7 +149,10 @@ function video-worker() { fi } -function main() { +function check_os() { + if [[ -n "$UNCHECK_DEPENDENCIES" ]]; then + return 0 + fi if [[ "${OS}" == 'Darwin' ]]; then echo echo "$(gettext 'Unsupported Operating System Error')" @@ -162,6 +165,11 @@ function main() { echo "$(gettext 'Windows installer please see'): https://github.com/jumpserver/Dockerfile" exit 0 fi + return 0 +} + +function main() { + check_os || return 3 if [[ "${action}" == "help" || "${action}" == "h" || "${action}" == "-h" || "${action}" == "--help" ]]; then echo "" diff --git a/quick_start.sh b/quick_start.sh index 4739ddd..c996c41 100644 --- a/quick_start.sh +++ b/quick_start.sh @@ -34,7 +34,7 @@ function get_installer() { echo "download install script to /opt/jumpserver-installer-${VERSION}" cd /opt || exit 1 if [ ! -d "/opt/jumpserver-installer-${VERSION}" ]; then - timeout 60 wget -qO jumpserver-installer-${VERSION}.tar.gz ${DOWNLOAD_URL}/jumpserver/installer/releases/download/${VERSION}/jumpserver-installer-${VERSION}.tar.gz || { + timeout 60 wget --show-progress -qO jumpserver-installer-${VERSION}.tar.gz ${DOWNLOAD_URL}/jumpserver/installer/releases/download/${VERSION}/jumpserver-installer-${VERSION}.tar.gz || { rm -f /opt/jumpserver-installer-${VERSION}.tar.gz echo -e "[\033[31m ERROR \033[0m] Failed to download jumpserver-installer-${VERSION}" exit 1 diff --git a/scripts/0_prepare.sh b/scripts/0_prepare.sh index 7e7b2c5..5ff425b 100644 --- a/scripts/0_prepare.sh +++ b/scripts/0_prepare.sh @@ -25,7 +25,7 @@ function download_and_verify() { md5_url="${url}.md5" fi - wget -q "${md5_url}" -O "${md5_target_path}" || { + wget --show-progress -q "${md5_url}" -O "${md5_target_path}" || { log_error "$(gettext 'Download fails, check the network is normal')" rm -f "${md5_target_path}" exit 1 @@ -38,7 +38,7 @@ function download_and_verify() { md5_matched=$(check_md5 "${target_path}" "${expected_md5}") if [[ ! -f "${target_path}" || "${md5_matched}" != "1" ]]; then echo "$(gettext 'Starting to download'): ${url}" - wget -q "${url}" -O "${target_path}" || { + wget --show-progress -q "${url}" -O "${target_path}" || { log_error "$(gettext 'Download fails, check the network is normal')" rm -f "${target_path}" "${md5_target_path}" exit 1 diff --git a/scripts/1_config_jumpserver.sh b/scripts/1_config_jumpserver.sh index 1ccee8f..6da235b 100644 --- a/scripts/1_config_jumpserver.sh +++ b/scripts/1_config_jumpserver.sh @@ -185,7 +185,7 @@ function set_internal_redis() { function set_redis() { echo_yellow "\n4. $(gettext 'Configure Redis')" redis_engine="redis" - read_from_input redis_engine "$(gettext 'Please enter Redis Engine')?" "redis/sentinel" "${redis_engine}" + read_from_input redis_engine "$(gettext 'Please enter Redis Engine')" "redis/sentinel" "${redis_engine}" case "${redis_engine}" in redis) @@ -239,6 +239,17 @@ function init_db() { fi } +function set_others() { + echo_yellow "\n7. $(gettext 'Configure Others')" + lang=$(get_config LANGUAGE_CODE "zh") + read_from_input lang "$(gettext 'Please enter language')" "zh/en/ja/es/ko/ru/vi" "${lang}" + set_config LANGUAGE_CODE "${lang}" + + timezone=$(get_config TIME_ZONE "Asia/Shanghai") + read_from_input timezone "$(gettext 'Please enter timezone')" "" "${timezone}" + set_config TIME_ZONE "${timezone}" +} + function main() { if set_secret_key; then echo_done @@ -255,6 +266,9 @@ function main() { if set_service; then echo_done fi + if set_others; then + echo_done + fi if init_db; then echo_done fi diff --git a/scripts/2_install_docker.sh b/scripts/2_install_docker.sh index b6c3578..e406ba7 100644 --- a/scripts/2_install_docker.sh +++ b/scripts/2_install_docker.sh @@ -179,7 +179,7 @@ function check_docker_start() { function check_docker_compose() { if ! docker compose version &>/dev/null; then - echo_failed + echo_failed "$(gettext 'Docker compose is not installed')" exit 1 fi echo_done diff --git a/scripts/4_install_jumpserver.sh b/scripts/4_install_jumpserver.sh index 0926c5a..b34b5e7 100644 --- a/scripts/4_install_jumpserver.sh +++ b/scripts/4_install_jumpserver.sh @@ -6,6 +6,9 @@ BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" . "${BASE_DIR}/utils.sh" function pre_install() { + if [[ -n "$UNCHECK_DEPENDENCIES" ]]; then + return 0 + fi if ! command -v systemctl &>/dev/null; then docker version &>/dev/null || { log_error "$(gettext 'The current Linux system does not support systemd management. Please deploy docker by yourself before running this script again')" diff --git a/scripts/7_upgrade.sh b/scripts/7_upgrade.sh index 4b8406c..e0f4895 100644 --- a/scripts/7_upgrade.sh +++ b/scripts/7_upgrade.sh @@ -66,6 +66,7 @@ function upgrade_config() { check_and_set_config "SERVER_HOSTNAME" "${HOSTNAME}" check_and_set_config "JUMPSERVER_ENABLE_FONT_SMOOTHING" "true" check_and_set_config "USE_LB" "1" + check_and_set_config "TIME_ZONE" "${TZ}" # XPACK use_xpack=$(get_config_or_env USE_XPACK) if [[ "${use_xpack}" == "1" ]]; then diff --git a/scripts/utils.sh b/scripts/utils.sh index 9013fdd..3bf9188 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -80,6 +80,15 @@ function get_config_or_env() { echo "${value}" } +function sed_in_place() { + # macOS requires a backup extension for sed -i, even if empty + if [[ "${OS}" == "Darwin" ]]; then + sed -i '' "$@" + else + sed -i "$@" + fi +} + function set_config() { key=$1 value=$2 @@ -95,7 +104,7 @@ function set_config() { return fi - sed -i "s,^[ \t]*${key}=.*$,${key}=${value},g" "${CONFIG_FILE}" + sed_in_place "s,^[ \t]*${key}=.*$,${key}=${value},g" "${CONFIG_FILE}" } function disable_config() { @@ -103,7 +112,7 @@ function disable_config() { has=$(has_config "${key}") if [[ ${has} == "1" ]]; then - sed -i "s,^[ \t]*${key}=.*$,# ${key}=,g" "${CONFIG_FILE}" + sed_in_place "s,^[ \t]*${key}=.*$,# ${key}=,g" "${CONFIG_FILE}" fi } @@ -223,14 +232,21 @@ function read_from_input() { msg=$2 choices=$3 default=$4 - if [[ -n "${choices}" ]]; then - msg="${msg} (${choices}) " - fi - if [[ -z "${default}" ]]; then - msg="${msg} ($(gettext 'no default'))" + + if [[ -z "${choices}" && -n "${default}" ]]; then + msg="${msg} [default: ${default}] " + elif [[ "${choices}" == "y/n" ]]; then + if [[ "${default}" == "y" ]]; then + msg="${msg} [Y/n]" + else + msg="${msg} [y/N]" + fi + elif [[ -n "${choices}" && -n "${default}" ]]; then + msg="${msg} [${choices}] (default: ${default})" else - msg="${msg} ($(gettext 'default') ${default})" + msg="${msg} [${choices}]" fi + echo -n "${msg}: " read -r input if [[ -z "${input}" && -n "${default}" ]]; then @@ -289,7 +305,12 @@ function echo_warn() { } function echo_failed() { - echo_red "$(gettext 'fail')" + msg="$(gettext 'fail')" + reason=$1 + if [[ -n "${reason}" ]]; then + msg="${msg}: ${reason}" + fi + echo_red "${msg}" } function log_success() { @@ -424,6 +445,9 @@ function get_video_worker_cmd_line() { } function prepare_check_required_pkg() { + if [[ -n "$UNCHECK_DEPENDENCIES" ]]; then + return 0 + fi for i in curl wget tar iptables gettext; do command -v $i &>/dev/null || { echo_red "$i: $(gettext 'command not found, Please install it first') $i" @@ -514,7 +538,7 @@ function prepare_config() { chmod 644 "${CONFIG_DIR}/mariadb/mariadb.cnf" if [[ "$(uname -m)" == "aarch64" ]]; then - sed -i "s/# ignore-warnings ARM64-COW-BUG/ignore-warnings ARM64-COW-BUG/g" "${CONFIG_DIR}/redis/redis.conf" + sed_in_place "s/# ignore-warnings ARM64-COW-BUG/ignore-warnings ARM64-COW-BUG/g" "${CONFIG_DIR}/redis/redis.conf" fi } From e7dec3da11b02d1f891ac40c54e9e37c9bd43a8c Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Thu, 15 Jan 2026 15:26:59 +0800 Subject: [PATCH 3/4] perf: VERIFY_EXTERNAL_SSL default false --- scripts/7_upgrade.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/7_upgrade.sh b/scripts/7_upgrade.sh index e0f4895..643cf0e 100644 --- a/scripts/7_upgrade.sh +++ b/scripts/7_upgrade.sh @@ -67,6 +67,7 @@ function upgrade_config() { check_and_set_config "JUMPSERVER_ENABLE_FONT_SMOOTHING" "true" check_and_set_config "USE_LB" "1" check_and_set_config "TIME_ZONE" "${TZ}" + check_and_set_config "VERIFY_EXTERNAL_SSL" "False" # XPACK use_xpack=$(get_config_or_env USE_XPACK) if [[ "${use_xpack}" == "1" ]]; then From 4c455a843680ef4e57ce33ffe628fc320d0ad6a6 Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 16 Jan 2026 11:37:28 +0800 Subject: [PATCH 4/4] perf: revert to TZ --- compose/core.yml | 2 ++ compose/es.yml | 2 +- compose/mariadb.yml | 2 +- compose/minio.yml | 2 +- compose/mysql.yml | 2 +- compose/postgres.yml | 2 +- compose/redis.yml | 2 +- compose/web.yml | 2 +- config-example.txt | 2 +- scripts/1_config_jumpserver.sh | 4 ++-- scripts/7_upgrade.sh | 3 +-- 11 files changed, 13 insertions(+), 12 deletions(-) diff --git a/compose/core.yml b/compose/core.yml index c380abc..4fb8428 100644 --- a/compose/core.yml +++ b/compose/core.yml @@ -9,6 +9,8 @@ services: command: start web env_file: - ${CONFIG_FILE} + environment: + TIME_ZONE: ${TZ:-Asia/Shanghai} volumes: - ${CONFIG_DIR}/certs:/opt/jumpserver/data/certs - ${VOLUME_DIR}/core/data:/opt/jumpserver/data diff --git a/compose/es.yml b/compose/es.yml index ed20642..656527e 100644 --- a/compose/es.yml +++ b/compose/es.yml @@ -11,7 +11,7 @@ services: - ${VOLUME_DIR}/elasticsearch/data:/usr/share/elasticsearch/data - ${VOLUME_DIR}/elasticsearch/logs:/usr/share/elasticsearch/logs environment: - TZ: ${TIME_ZONE:-Asia/Shanghai} + TZ: ${TZ:-Asia/Shanghai} cluster.name: docker-cluster discovery.type: single-node network.host: 0.0.0.0 diff --git a/compose/mariadb.yml b/compose/mariadb.yml index 6abc74f..7002208 100644 --- a/compose/mariadb.yml +++ b/compose/mariadb.yml @@ -5,7 +5,7 @@ services: restart: always command: --character-set-server=utf8 --collation-server=utf8_general_ci environment: - TZ: ${TIME_ZONE:-Asia/Shanghai} + TZ: ${TZ:-Asia/Shanghai} DB_PORT: $DB_PORT MARIADB_ROOT_PASSWORD: $DB_PASSWORD MARIADB_DATABASE: $DB_NAME diff --git a/compose/minio.yml b/compose/minio.yml index 9c97aef..39a0cc9 100644 --- a/compose/minio.yml +++ b/compose/minio.yml @@ -6,7 +6,7 @@ services: restart: always command: "server /data --console-address :9001" environment: - TZ: ${TIME_ZONE:-Asia/Shanghai} + TZ: ${TZ:-Asia/Shanghai} MINIO_ROOT_USER: minio MINIO_ROOT_PASSWORD: $BOOTSTRAP_TOKEN MINIO_REGION_NAME: us-west-rack2 diff --git a/compose/mysql.yml b/compose/mysql.yml index 48b7110..5f5b0cd 100644 --- a/compose/mysql.yml +++ b/compose/mysql.yml @@ -5,7 +5,7 @@ services: restart: always command: --character-set-server=utf8 environment: - TZ: ${TIME_ZONE:-Asia/Shanghai} + TZ: ${TZ:-Asia/Shanghai} DB_PORT: $DB_PORT MYSQL_ROOT_PASSWORD: $DB_PASSWORD MYSQL_DATABASE: $DB_NAME diff --git a/compose/postgres.yml b/compose/postgres.yml index 76ba1a7..19aa293 100644 --- a/compose/postgres.yml +++ b/compose/postgres.yml @@ -4,7 +4,7 @@ services: container_name: jms_postgresql restart: always environment: - TZ: ${TIME_ZONE:-Asia/Shanghai} + TZ: ${TZ:-Asia/Shanghai} POSTGRES_DB: $DB_NAME POSTGRES_USER: $DB_USER POSTGRES_PASSWORD: $DB_PASSWORD diff --git a/compose/redis.yml b/compose/redis.yml index a7c8c12..00eeaf5 100644 --- a/compose/redis.yml +++ b/compose/redis.yml @@ -6,7 +6,7 @@ services: restart: always command: ["redis-server", "/etc/redis.conf", "--requirepass", "$REDIS_PASSWORD"] environment: - TZ: ${TIME_ZONE:-Asia/Shanghai} + TZ: ${TZ:-Asia/Shanghai} REDIS_PORT: $REDIS_PORT REDIS_PASSWORD: $REDIS_PASSWORD volumes: diff --git a/compose/web.yml b/compose/web.yml index 4330549..288e23a 100644 --- a/compose/web.yml +++ b/compose/web.yml @@ -7,7 +7,7 @@ services: core: 0 restart: always environment: - TZ: ${TIME_ZONE:-Asia/Shanghai} + TZ: ${TZ:-Asia/Shanghai} HTTP_PORT: ${HTTP_PORT:-80} USE_LB: ${USE_LB:-1} USE_IPV6: ${USE_IPV6:-0} diff --git a/config-example.txt b/config-example.txt index 68f0629..555cb11 100644 --- a/config-example.txt +++ b/config-example.txt @@ -160,5 +160,5 @@ USE_LB=1 # The current running version number of JumpServer, automatically generated after installation and upgrade # -TIME_ZONE=Asia/Shanghai +TZ=Asia/Shanghai CURRENT_VERSION= diff --git a/scripts/1_config_jumpserver.sh b/scripts/1_config_jumpserver.sh index 6da235b..fe489ee 100644 --- a/scripts/1_config_jumpserver.sh +++ b/scripts/1_config_jumpserver.sh @@ -245,9 +245,9 @@ function set_others() { read_from_input lang "$(gettext 'Please enter language')" "zh/en/ja/es/ko/ru/vi" "${lang}" set_config LANGUAGE_CODE "${lang}" - timezone=$(get_config TIME_ZONE "Asia/Shanghai") + timezone=$(get_config TZ "Asia/Shanghai") read_from_input timezone "$(gettext 'Please enter timezone')" "" "${timezone}" - set_config TIME_ZONE "${timezone}" + set_config TZ "${timezone}" } function main() { diff --git a/scripts/7_upgrade.sh b/scripts/7_upgrade.sh index 643cf0e..8e07dad 100644 --- a/scripts/7_upgrade.sh +++ b/scripts/7_upgrade.sh @@ -66,8 +66,7 @@ function upgrade_config() { check_and_set_config "SERVER_HOSTNAME" "${HOSTNAME}" check_and_set_config "JUMPSERVER_ENABLE_FONT_SMOOTHING" "true" check_and_set_config "USE_LB" "1" - check_and_set_config "TIME_ZONE" "${TZ}" - check_and_set_config "VERIFY_EXTERNAL_SSL" "False" + check_and_set_config "VERIFY_EXTERNAL_SSL" "false" # XPACK use_xpack=$(get_config_or_env USE_XPACK) if [[ "${use_xpack}" == "1" ]]; then