Hi! I have been pushed to using cloud-init to automate the building of new machines due to ubuntu 20.04 no longer supporting debian-installer. Since I had to use cloud-init anyway, I was hoping to push some defaults into the vm's, since I am doing this all with ansible.
The way I am set up currently, is to make sure I have an up-to-date could install, then use qemu-img to make a snapshot of that disk at the proper size according to the settings in ansible. I then follow all the steps in the tutorial on using cloudinit in the proxmox wiki, except for making the template. I didn't really want to do that step, since ansible would be building the machines I need and if I did use a template, they would be full copy clones, which would just cause an additional machine to be on the server that was not needed.
As it is right now, when I use --cicustom, I get no errors on loading the files from the snippets area but when i do a "qm cloudinit dump" it doesn't show the information in the yaml files I linked to. This is more than a little frustrating. Anyone have any guidance about this?
The way I am set up currently, is to make sure I have an up-to-date could install, then use qemu-img to make a snapshot of that disk at the proper size according to the settings in ansible. I then follow all the steps in the tutorial on using cloudinit in the proxmox wiki, except for making the template. I didn't really want to do that step, since ansible would be building the machines I need and if I did use a template, they would be full copy clones, which would just cause an additional machine to be on the server that was not needed.
As it is right now, when I use --cicustom, I get no errors on loading the files from the snippets area but when i do a "qm cloudinit dump" it doesn't show the information in the yaml files I linked to. This is more than a little frustrating. Anyone have any guidance about this?