Building Ubuntu Server 24.04 Templates for Proxmox with Packer
🚀 Introduction
I'm planning on setting up a k3s cluster and Windows Server environment in my homelab, which means I need to provision quite a few VMs. Clicking through installers definitely isn't very "as code" 😅, so I've turned to Packer to build VM templates with the idea that I can prepare VM templates with remote management enabled by default.
Now Ubuntu offers Ubuntu Cloud Images which can easily converted into Cloud-Init Templates for use with Proxmox. But but since I'll need custom images for Windows anyway I figured I'd build my own Ubuntu templates too. Its a good opportunity to get some more experience with Packer and gives me full control over the template creation process.