This bash script facilitates the downloading and setup of Cloud-init OS templates for Proxmox Virtual Environment (PVE). It automates the download of specified operating system images and imports them into Proxmox as VM templates, streamlining the process of creating new VMs with various operating systems.
The script supports a predefined list of cloud-init enabled OS images, which currently includes:
- Debian 10 (EOL - No Support)
- Debian 11
- Debian 12
- Ubuntu Server 20.04
- Ubuntu Server 22.04
- Alma Linux 8
- Alma Linux 9 *Not working yet.. (Maybe image problem?)
- CentOS 7 (No Support) *Not working for qemu-agent / ssh configs
- CentOS 8 Stream (No Support)
- CentOS 9 Stream (No Support)
We are excited to announce the beta release of the osdl.sh/osdlt.sh
script, which provides extended functionality for Proxmox installations. With this script, you can:
- Install the QEMU Guest Agent on your virtual machines.
- Enable SSH access for easy management.
- Configure SSH to permit password authentication.
This beta feature is still under active development, and we would appreciate any feedback on your experience with osdlt.sh
. Please submit any issues you encounter or enhancements you suggest.
To leverage the enhancements in the beta testing script, perform the following steps:
-
Download the testing script:
wget osdl.sh/osdlt.sh
-
Make sure the
osdlt.sh
is executable:chmod +x osdlt.sh
-
Execute the script with root privileges:
./osdlt.sh
Your input on this beta feature will help us improve its performance and reliability for future releases.
- A Proxmox VE installation.
- Internet connectivity to download OS images.
- Sufficient storage space in your desired storage location for the image files.
-
Downloading the script:
wget osdl.sh/osdl.sh
-
Ensure the
osdl.sh
script is executable:chmod +x osdl.sh
-
Run the script as the root user (or with sudo privileges) on your Proxmox server:
./osdl.sh
-
Follow the on-screen prompts to:
- Select the desired operating system.
- Specify the target storage location.
- Assign a VMID for the new template.
-
The script will handle the rest!
You will be prompted for the following information:
- Operating System Selection: Choose from the predefined list of supported OS templates.
- Target Storage: Enter the target storage ID (e.g., 'local').
- VMID: Assign a VMID that is not already in use on your Proxmox server.
Your contributions are most welcome. Feel free to make improvements by submitting pull requests.
This script is provided by HOKOHOST. If you find it valuable and wish to support further development or say thanks, please consider making a donation using Stripe. Your support is greatly appreciated.
This project is licensed under the MIT License - see the LICENSE file for details.
This script is provided 'as-is', without any warranty or guarantee of any kind. Use it at your own risk.
This script is proudly presented to you by HOKOHOST. Stay updated with the latest versions by visiting our website.