I've used Proxmox for years and when I came back last year I found out about Cloud-init templates and was blown away by how easy it was. I had one issue though any time I wanted to change the specs of the VM I always needed to clone the Template and then modify the specs. A Little tedious for me So I need an idea.
CloudyStart, is my Solution. As I started getting more into scripting. I worked on this as a side project as I still work a full-time job as an IT Analyst. The cool thing about this script is it still uses cloud-init at its core but it lets you spec down the VM on all sides. Minus Advanced cloud-init configs. Still a WIP but this has done wonders in automating my workflow within Proxmox.
- Clone the repo.
git clone https://github.com/ColoredBytes/cloudystart.git
Caution
For this script to run properly, two variables need to be changed on your end.
- Change these before running the script.
VM_STO="" # Set to the storage used for VMs
CIDR="23 # Change to your CIDR notation.
- Run the script.
./cloudystart/cloudystart.sh
Tip
If you like the script and dont want to run it the from the the dir all the time. You can follow the steps as a fun little trick.
git clone https://github.com/ColoredBytes/cloudystart.git /opt/cloudystart
ln -s /opt/cloudystart/cloudystart.sh /usr/local/bin/cloudystart