mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-04-24 20:25:50 +03:00
[GH-ISSUE #495] Add configurable APT-Cacher-NG (LXC) default proxy option for local helper script installations #143
Labels
No labels
bug
enhancement
enhancement
feature
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ProxmoxVE-Local#143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @YamonBot on GitHub (Feb 24, 2026).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE-Local/issues/495
🌟 Briefly describe the feature
Add configurable APT-Cacher-NG (LXC) default proxy option for local helper script installations
📝 Detailed description
🚀 Feature Request
I would like to request support for configuring an APT-Cacher-NG instance (running in LXC) as an optional default package proxy for local helper script installations.
Specifically, I want to:
APT-Cacher-NGinstance in environment settings.🧩 Background
In my infrastructure:
APT-Cacher-NGruns inside an LXC container.Currently, when installing local helper scripts, there is no clean way to:
This forces manual edits or environment-specific patching.
🎯 Proposed Solution
1️⃣ Environment-Level Configuration
Allow defining proxy configuration via environment variables (or equivalent configuration system), for example:
2️⃣ Installation-Time Default Behavior Control
During local helper script installation:
APT_PROXY_ENABLED=true→ automatically configure APT to use the specified APT-Cacher-NG instance.false→ proceed without proxy configuration.This behavior should be configurable without modifying core installation scripts.
✅ Expected Outcome
A clean and configurable mechanism that:
💡 Why is this useful?
Improves reproducibility in LXC-based environments.
Reduces repetitive manual configuration.
Makes proxy usage explicit and controllable.
Useful for users operating persistent local infrastructure.