Update README.md to reflect correct script path for update_apt_proxy_all.sh

This commit is contained in:
2025-07-29 14:20:12 +06:00
parent c31eedef3d
commit 92a9f3e1e7
2 changed files with 2 additions and 56 deletions

View File

@@ -1,54 +0,0 @@
# Proxmox Scripts
A professional collection of automation and management scripts for Proxmox environments, including LXC containers, VMs, and node configuration.
## Repository Structure
- `scripts/` — All automation and management scripts for Proxmox.
- `misc/` — Miscellaneous scripts, including `update_apt_proxy_all.sh`.
- `docs/` — Documentation and usage guides for each script.
## Getting Started
Clone the repository:
```bash
git clone https://git.lewsion.com/endrence/proxmox-scripts.git
cd proxmox-scripts
```
## Usage
Place your scripts in the `scripts/` directory. Each script should be documented in the `docs/` folder or within the script itself.
### Example: update_apt_proxy_all.sh
Automates apt-cacher-ng proxy configuration for all LXC containers, VMs (with QEMU Guest Agent), and optionally the Proxmox node itself.
Run locally:
```bash
bash scripts/misc/update_apt_proxy_all.sh
```
Or run directly from the raw link:
```bash
bash <(curl -s https://git.lewsion.com/endrence/proxmox-scripts/raw/branch/main/scripts/misc/update_apt_proxy_all.sh)
```
See `docs/update_apt_proxy_all.md` for full documentation.
## Adding New Scripts
- Add new scripts to the `scripts/` directory (organize in subfolders as needed).
- Document each script in the `docs/` folder or within the script file.
- Update this README with a brief description of new scripts.
## Contribution
Contributions are welcome! Please:
- Follow the existing folder structure and documentation style.
- Document your scripts for easier usage and maintenance.
- Submit pull requests with clear descriptions of changes.
## License
MIT

View File

@@ -14,13 +14,13 @@ This script automates the configuration of the apt-cacher-ng proxy for all Proxm
You can run the script directly if its cloned locally: You can run the script directly if its cloned locally:
```bash ```bash
bash scripts/misc/update_apt_proxy_all.sh bash scripts/misc/update_apt_proxy_all/update_apt_proxy_all.sh
``` ```
Or, run it directly from the raw link (no need to clone): Or, run it directly from the raw link (no need to clone):
```bash ```bash
bash <(curl -s https://git.lewsion.com/endrence/proxmox-scripts/raw/branch/main/scripts/misc/update_apt_proxy_all.sh) bash <(curl -s https://git.lewsion.com/endrence/proxmox-scripts/raw/branch/main/scripts/misc/update_apt_proxy_all/update_apt_proxy_all.sh)
``` ```
Follow the prompts to select targets and configure the proxy. Follow the prompts to select targets and configure the proxy.