Can i use Proxmox cloud-init with the DietpiI ISO in a VM?
@StephanStS is running quite some Proxmox systems as far as I know
@doko1975: What is the target of cloud-init?
If you install DietPi in a VM, it starts with an automatic first-time-install run which sets up the most things for you. No special user etc. need to be added for a first touch to the system.
BTW: You actually can easily use a DietPi .iso image and generate a DietPi VM like you are familiar with within Proxmox: Just generate a VM with its necessary ressources and let it boot from an ISO image (-> CD-ROM boot).
You can use this image: https://dietpi.com/downloads/images/DietPi_VM-x86_64-Bookworm_Installer.iso
This might be more familiar to you compared to the installation method we have actually described in our installation docs.
Hi, I am also curious on wether cloud-init proxmox integration is possible. The purpose of this would be to make a dietpi VM template to clone and deploy as needed. It would really bring dietpi to the next level in context of automation. It would work similarly to /boot/dietpi.txt which i love to use for unattended installs, but havent found an efficient way to implement this into each new VM i want to deploy
When I think about it, I don’t actually need cloud-init itself, what i really want is an efficient way to inject /boot/dietpi.txt prior ro first boot. Cloud-init is just the standard way of doing it I guess, and thats the route proxmox went with.
I would really appreciate if anyone has found some way to achieve this. I really think dietpi is the perfect OS for VMs.