skz-opack

skz-opack

skz-opack bootstraps OpenBSD custom VMs with KVM or glouc. It reduces all the installation and configuration steps to a single make opack in whatever project needs a VM.

Highlights

  • Include src/opack.mk, override knobs such as CPU count, RAM, disk size, mirrors, or provisioning scripts, and let Packer+Vagrant handle the install.
  • make opack-cloud emits a Google Compute Engine image via the googlecompute builder, uploads it through GCS, and boots it with Terraform so CI and demo rigs share the same bits.
  • Caches, disklabels, Xenocara installs, and runtime provisioners all live behind OPACK_* options that can be versioned per repo.
1
2
3
4
5
OPACK_TARGET = demo
OPACK_SYS_CPU = 4
OPACK_SYS_MEMORY = 2048

include src/opack.mk

From there it is just make opack, vagrant ssh, and a reproducible OpenBSD instance ready to benchmark, backdoor, or tear down with make opack-clean.

skz-sloptrap
Sk4nZ - Underachievers