From 956b73129b5ad0c5913bffc3c6ab130fc4809b36 Mon Sep 17 00:00:00 2001 From: Anton Kremenetsky Date: Wed, 24 Jun 2026 01:09:04 +0300 Subject: [PATCH] build: disable Alloy installation and reduce disk size - Comment out Alloy installation steps (monitoring solution to be revised) - Add python3-botocore, python-babel-localedata, python3-twisted to autopurge to remove cloud-init dependencies - Reduce disk_size from 6G to 4500M Signed-off-by: Anton Kremenetsky --- exordos/exordos.yaml | 2 +- exordos/images/exordos_base/install.sh | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/exordos/exordos.yaml b/exordos/exordos.yaml index 6302908..301dbfa 100644 --- a/exordos/exordos.yaml +++ b/exordos/exordos.yaml @@ -32,4 +32,4 @@ build: # Override image build parameters, for instance Packer parameters override: - disk_size: "6G" + disk_size: "4500M" diff --git a/exordos/images/exordos_base/install.sh b/exordos/images/exordos_base/install.sh index 3785a74..c947729 100644 --- a/exordos/images/exordos_base/install.sh +++ b/exordos/images/exordos_base/install.sh @@ -89,11 +89,12 @@ sudo cp -a "$IMG_ARTS_PATH/lib/." "/usr/local/lib/exordos/" # Enable exordos core services sudo systemctl enable exordos-bootstrap exordos-root-autoresize exordos-universal-agent +# Commented out because we don't need Alloy for now and we are going to change monitoring solution # Install Alloy -wget -q https://repo.exordos.com/alloy/alloy-${ALLOY_VERSION}-1.amd64.deb -#wget -q https://github.com/grafana/alloy/releases/download/v${ALLOY_VERSION}/alloy-${ALLOY_VERSION}-1.amd64.deb -sudo dpkg -i alloy-${ALLOY_VERSION}-1.amd64.deb -rm -f alloy-${ALLOY_VERSION}-1.amd64.deb +# wget -q https://repo.exordos.com/alloy/alloy-${ALLOY_VERSION}-1.amd64.deb +# wget -q https://github.com/grafana/alloy/releases/download/v${ALLOY_VERSION}/alloy-${ALLOY_VERSION}-1.amd64.deb +# sudo dpkg -i alloy-${ALLOY_VERSION}-1.amd64.deb +# rm -f alloy-${ALLOY_VERSION}-1.amd64.deb # Set default password cat > /tmp/__passwd <