tmatilai / packer-openbsd

OpenBSD Packer Templates
Apache License 2.0
57 stars 36 forks source link

OpenBSD Packer Templates

This repository contains templates for building OpenBSD boxes for Vagrant using Packer. Supports VirtualBox, VMware, and QEMU/libvirt providers.

Pre-built boxes can be installed via Hashicorp Atlas:

Current:

vagrant box add ryanmaclean/openbsd-6.1

Older:

vagrant box add ryanmaclean/openbsd-6.0

You can also build the boxes yourself:

packer build openbsd-<version>.json

The boxes won't include VirtualBox Guest Additions nor VMware Tool (as they are not available for the OS). So for synced folders you need to use e.g. NFS or rsync.

Chef and Ansible Support

The images created by this script currently support Chef and/or Ansible installation at build time.

Chef

In order to have Chef installed in the Vagrant box, set chef_version (line 3) to either prerelease or latest in the json file for the version you are building.

Ansible

In order to have Ansible installed in the Vagrant box, set vagrant_ansible (line 8) to yes in the json file for your build.

License

The templates are based on the Bento project and Veewee templates.

Copyright 2014-2015, Teemu Matilainen (teemu.matilainen@iki.fi)

Licensed under the Apache License, Version 2.0 (see the LICENSE).