From a10c499efbe8337f88eba81a48bf48a521c946fc Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Wed, 25 Dec 2024 19:26:44 +0900 Subject: [PATCH] Removed modules directory for agent2 --- Dockerfiles/agent2/alpine/Dockerfile | 1 - Dockerfiles/agent2/centos/Dockerfile | 1 - Dockerfiles/agent2/ol/Dockerfile | 1 - Dockerfiles/agent2/rhel/Dockerfile | 1 - Dockerfiles/agent2/ubuntu/Dockerfile | 1 - Dockerfiles/agent2/windows/Dockerfile | 1 - 6 files changed, 6 deletions(-) diff --git a/Dockerfiles/agent2/alpine/Dockerfile b/Dockerfiles/agent2/alpine/Dockerfile index 4d4d38f39..e08a2a917 100644 --- a/Dockerfiles/agent2/alpine/Dockerfile +++ b/Dockerfiles/agent2/alpine/Dockerfile @@ -65,7 +65,6 @@ RUN set -eux && \ mkdir -p ${ZABBIX_USER_HOME_DIR} && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/enc && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/enc_internal && \ - mkdir -p ${ZABBIX_USER_HOME_DIR}/modules && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/buffer && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/user_scripts && \ chown --quiet -R zabbix:root ${ZABBIX_CONF_DIR}/ ${ZABBIX_USER_HOME_DIR}/ && \ diff --git a/Dockerfiles/agent2/centos/Dockerfile b/Dockerfiles/agent2/centos/Dockerfile index bd9b52e7f..5d2f0dc50 100644 --- a/Dockerfiles/agent2/centos/Dockerfile +++ b/Dockerfiles/agent2/centos/Dockerfile @@ -85,7 +85,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \ mkdir -p ${ZABBIX_USER_HOME_DIR} && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/enc && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/enc_internal && \ - mkdir -p ${ZABBIX_USER_HOME_DIR}/modules && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/buffer && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/user_scripts && \ chown --quiet -R zabbix:root ${ZABBIX_CONF_DIR}/ ${ZABBIX_USER_HOME_DIR}/ && \ diff --git a/Dockerfiles/agent2/ol/Dockerfile b/Dockerfiles/agent2/ol/Dockerfile index 02d112603..c7466cb30 100644 --- a/Dockerfiles/agent2/ol/Dockerfile +++ b/Dockerfiles/agent2/ol/Dockerfile @@ -72,7 +72,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \ mkdir -p ${ZABBIX_USER_HOME_DIR} && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/enc && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/enc_internal && \ - mkdir -p ${ZABBIX_USER_HOME_DIR}/modules && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/buffer && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/user_scripts && \ chown --quiet -R zabbix:root ${ZABBIX_CONF_DIR}/ ${ZABBIX_USER_HOME_DIR}/ && \ diff --git a/Dockerfiles/agent2/rhel/Dockerfile b/Dockerfiles/agent2/rhel/Dockerfile index b1e084c89..6531af486 100644 --- a/Dockerfiles/agent2/rhel/Dockerfile +++ b/Dockerfiles/agent2/rhel/Dockerfile @@ -110,7 +110,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \ mkdir -p ${ZABBIX_USER_HOME_DIR} && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/enc && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/enc_internal && \ - mkdir -p ${ZABBIX_USER_HOME_DIR}/modules && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/buffer && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/user_scripts && \ chown --quiet -R zabbix:root ${ZABBIX_CONF_DIR}/ ${ZABBIX_USER_HOME_DIR}/ && \ diff --git a/Dockerfiles/agent2/ubuntu/Dockerfile b/Dockerfiles/agent2/ubuntu/Dockerfile index e1bcd0b05..2084b1433 100644 --- a/Dockerfiles/agent2/ubuntu/Dockerfile +++ b/Dockerfiles/agent2/ubuntu/Dockerfile @@ -68,7 +68,6 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \ mkdir -p ${ZABBIX_USER_HOME_DIR} && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/enc && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/enc_internal && \ - mkdir -p ${ZABBIX_USER_HOME_DIR}/modules && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/buffer && \ mkdir -p ${ZABBIX_USER_HOME_DIR}/user_scripts && \ chown --quiet -R zabbix:root ${ZABBIX_CONF_DIR}/ ${ZABBIX_USER_HOME_DIR}/ && \ diff --git a/Dockerfiles/agent2/windows/Dockerfile b/Dockerfiles/agent2/windows/Dockerfile index b68567f11..7b9af211a 100644 --- a/Dockerfiles/agent2/windows/Dockerfile +++ b/Dockerfiles/agent2/windows/Dockerfile @@ -46,7 +46,6 @@ RUN Set-Location -Path $env:SystemDrive\.; ` ` New-Item -Force -ItemType directory -Path $env:ZBX_HOME\conf\zabbix_agentd.d | Out-Null; ` New-Item -Force -ItemType directory -Path $env:ZBX_HOME\enc | Out-Null; ` - New-Item -Force -ItemType directory -Path $env:ZBX_HOME\modules | Out-Null; ` New-Item -Force -ItemType directory -Path $env:ZBX_HOME\buffer | Out-Null; ` ` net accounts /MaxPWAge:unlimited; `