Remove old update_apt_proxy_all.sh script and its README; add new implementation with enhanced proxy configuration for Proxmox LXC containers and VMs.

This commit is contained in:
2025-07-29 14:21:23 +06:00
parent 92a9f3e1e7
commit aa83341933
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
# update_apt_proxy_all.sh
This script automates the configuration of the apt-cacher-ng proxy for all Proxmox LXC containers, VMs (with QEMU Guest Agent), and optionally the Proxmox node itself.
## Features
- Interactive prompts for proxy IP, port, and target selection (LXC, VM, All, Node).
- Updates `/etc/apt/apt.conf.d/01proxy` in selected targets.
- Works with both LXC containers and VMs (requires QEMU Guest Agent for VMs).
- Optionally updates the Proxmox node itself.
## Usage
You can run the script directly if its cloned locally:
```bash
bash scripts/misc/update_apt_proxy_all/update_apt_proxy_all.sh
```
Or, run it directly from the raw link (no need to clone):
```bash
bash <(curl -s https://git.lewsion.com/endrence/proxmox-scripts/raw/branch/main/misc/update_apt_proxy_all/update_apt_proxy_all.sh)
```
Follow the prompts to select targets and configure the proxy.
## Requirements
- Proxmox environment with `pct` and `qm` commands available.
- QEMU Guest Agent installed in VMs for VM updates.
## License
MIT