This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Script to create an OpenWrt LXC container in Proxmox | |
| # Supports stable, release candidates (with prompt if newer), and snapshots | |
| # Robust template handling (reuse / redownload / corruption check) | |
| # Aborts cleanly on Esc/Cancel in dialogs | |
| # Default resource values | |
| DEFAULT_MEMORY="256" # MB | |
| DEFAULT_CORES="2" # CPU cores |