BSDCan2019 - 1.8

BSDCan 2019
The Technical BSD Conference

Speakers
Philipp Buehler
Schedule
Day Talks #2 - 18 May - 2019-05-18
Room DMS 1120
Start time 14:45
Duration 01:00
Info
ID 1068
Event type Other
Track Hacking
Language used for presentation English
Feedback

OpenBSD: add VMM to 'packer' (porting Go software)

The red pill taken to develop a Go "plugin" for packer.io to be able to create VM images on OpenBSD for VMM and many other virtualizers.

The sysadmin view of virtualization usually starts at a hypervisor running some kind of "image". Packer is a framework to create such an image using various host and virtualized operating systems and adding some more bolts.

This talk shows the efforts and pitfalls of building a plugin for packer using the VMM framework on OpenBSD. Some details go down the rabbit hole (or reducing it) to provide a Go binary runnable as a plugin. For ease of installation, the ways how to package this as an OpenBSD 'port' are shown.

On top a bigger picture is provided on how to provide configurable OpenBSD images "at scale" by using the above accomplishments.