Skip to main content

One post tagged with "iac"

View All Tags

Building Ubuntu Server 24.04 Templates for Proxmox with Packer

ยท 8 min read
Chris O'Malley
Senior DevOps Engineer

Proxmox and Packer logos side by side

๐Ÿš€ 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.