Packer templates for building Vagrant boxes used by the nebula smoke tests.
Minimal OpenBSD 7.8 box with vagrant user, sudo, and SSH configured.
cd openbsd78
packer init openbsd78.pkr.hcl
packer build openbsd78.pkr.hclProduces openbsd78-libvirt.box.
Minimal NetBSD 10.1 box with vagrant user, sudo, and SSH configured.
NetBSD has no native install autoresponder, so install is driven by anita (the canonical NetBSD test-install tool). anita-install.sh produces a base disk image and bootstraps SSH access for root; packer then takes over to configure the vagrant user.
cd netbsd10
pip install anita
packer init netbsd10.pkr.hcl
./scripts/anita-install.sh
packer build netbsd10.pkr.hclProduces netbsd10-libvirt.box.
Requires KVM. Both boxes use QEMU with KVM acceleration.
To add a box locally without publishing:
vagrant box add --name DefinedNet/<box-name> <box-file>.boxBoxes are built automatically via GitHub Actions on pushes to main and published to the HCP Vagrant Registry as DefinedNet/<box-name>.
Requires HCP_CLIENT_ID and HCP_CLIENT_SECRET repository secrets from an HCP service principal.
- Create a directory named
<os><version>(e.g.,netbsd10) - Add a Packer template, install config, and provisioning scripts
- Add a workflow in
.github/workflows/