From 591af3f1096b83e0776f93182ba5611430a2fa71 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 2 Sep 2025 18:40:22 +0200 Subject: [PATCH] Increase default disk size for Apt-Cacher-NG (#7352) --- ct/apt-cacher-ng.sh | 26 ++++++++++++------------- frontend/public/json/apt-cacher-ng.json | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ct/apt-cacher-ng.sh b/ct/apt-cacher-ng.sh index ade9b83f3..1ee2402be 100644 --- a/ct/apt-cacher-ng.sh +++ b/ct/apt-cacher-ng.sh @@ -9,7 +9,7 @@ APP="Apt-Cacher-NG" var_tags="${var_tags:-caching}" var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" -var_disk="${var_disk:-2}" +var_disk="${var_disk:-10}" var_os="${var_os:-debian}" var_version="${var_version:-12}" var_unprivileged="${var_unprivileged:-1}" @@ -20,18 +20,18 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP LXC" + $STD apt-get update + $STD apt-get -y upgrade + msg_ok "Updated $APP LXC" + exit } start @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3142/acng-report.html${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3142/acng-report.html${CL}" diff --git a/frontend/public/json/apt-cacher-ng.json b/frontend/public/json/apt-cacher-ng.json index 9ba442947..0fd7782e5 100644 --- a/frontend/public/json/apt-cacher-ng.json +++ b/frontend/public/json/apt-cacher-ng.json @@ -21,7 +21,7 @@ "resources": { "cpu": 1, "ram": 512, - "hdd": 2, + "hdd": 10, "os": "debian", "version": "12" }