The script has been revamped, the instructions on this website will be updated soon
About
This bash script facilitates the downloading and setup of Cloud-init OS templates for Proxmox Virtual Environment (PVE).
The script supports a comprehensive list of cloud-init enabled OS images, including:
- Debian (10, 11, 12)
- Ubuntu Server (18.04, 20.04, 22.04, 24.04)
- CentOS (7, 8 Stream, 9 Stream)
- Alma Linux (8, 9)
- Rocky Linux (8, 9)
- Fedora 38
- Oracle Linux (8, 9)
- openSUSE Leap 15.4
For more info, please visit GitHub.
Features
- Automated QEMU Guest Agent installation
- Enabling of SSH access for VMs
- Configuration of SSH to permit password authentication
- Option to enable root SSH login
- Bulk download and customization options
- Improved error handling and debugging information
Usage Options
Option 1: Quick Single-Line Command (Recommended)
Use this command to download and run the script in one go:
bash <(wget -qO- osdl.sh/start.sh)
Option 2: Download and Save for Repeated Use
Use these commands to download the script once and run it multiple times:
1. Download the script:
wget osdl.sh/start.sh
wget osdl.sh/start.sh
2. Make the script executable:
chmod +x start.sh
chmod +x start.sh
3. Run the script:
./start.sh
./start.sh
Note
This script now includes advanced features such as bulk customization options and improved error handling. It's designed to be more user-friendly and efficient for both single and multiple template creations.