Packer
Veertu Anka
@veertuinc
Packer plugin for creating and cloning Anka macOS VM templates, then pushing them to the Anka Build Cloud Registry.
- Community
- HCP Ready
Updated today
- GitHub(opens in new tab)
Veertu Anka
This is a Packer Plugin for building images that work with Veertu's Anka macOS Virtualization tool.
Installation
To install this plugin, copy and paste this code into your Packer configuration, then run packer init.
packer {
required_plugins {
veertu-anka = {
version = "= v4.x.x"
source = "github.com/veertuinc/veertu-anka"
}
}
}
Alternatively, you can use packer plugins install to manage installation of this plugin.
$ packer plugins install github.com/veertuinc/veertu-anka
Components
For use with the post-processor, it's important to use anka registry add to set your default registry on the machine building your templates/tags.
Builders
- veertu-anka-vm-clone - Packer builder is able to clone existing Anka VM Templates for use with the Anka Virtualization package and the Anka Build Cloud. The builder takes a source VM name, clones it, and then runs any provisioning necessary on the new VM Template before stopping or suspending it.
- veertu-anka-vm-create Packer builder is able to create new Anka VM Templates for use with the Anka Virtualization package and the Anka Build Cloud. The builder takes the path to macOS installer .app and installs that macOS version inside of an Anka VM Template.
Post-Processors
- veertu-anka-registry-push Packer Post Processor is able to push your created Anka VM templates to the Anka Build Cloud Registry through the Anka Virtualization package.