Commit graph

2 commits

Author SHA1 Message Date
Nelis Volschenk 865b5e0ea0 Make packer build script interactive
Prompts for config values on first run, saves to server.pkrvars.hcl.
On subsequent runs, shows existing config and asks whether to reuse or
enter new values. Secret keys are hidden when displaying existing config.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-04 13:11:46 +00:00
Nelis Volschenk 06580f9db6 Add Packer template for building Ubuntu 24.04 server image
Build a QCOW2 image locally with QEMU/KVM + autoinstall, then provision
with the existing Ansible playbook. Allows testing changes locally before
deploying to production. Outputs a ready-to-upload image for hosting providers.

Usage: cp server.pkrvars.hcl.example server.pkrvars.hcl, fill in values,
then run ./build.sh

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-04 07:28:30 +00:00