55 lines
1.6 KiB
Markdown
55 lines
1.6 KiB
Markdown
# 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
|