buildkite/packer-builder-veertu-anka

Name: packer-builder-veertu-anka

Owner: Buildkite

Description: ? A packer builder for Veertu Anka

Created: 2017-06-18 04:42:38.0

Updated: 2018-04-02 12:04:01.0

Pushed: 2017-09-18 05:14:31.0

Homepage:

Size: 732

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Packer Builder for Anka

This is a Packer Builder for building images that work with Veertu Anka, a macOS virtualization tool.

Note that this builder does not manage images. Once it creates an image, it is up to you to use it or delete it.

Installing from Binary
  1. Install Packer
  2. Install Veertu Anka
  3. Download the latest release for your host environment
  4. Unzip the plugin binaries to a location where Packer will detect them at run-time, such as any of the following:
    • The directory where the packer binary is.
    • The ~/.packer.d/plugins directory.
    • The current working directory.
  5. Change to a directory where you have packer templates, and run as usual.
Configuration

uilders": [{
"type": "veertu-anka",
"installer_app": "/Applications/Install macOS Sierra.app/",
"disk_size": "25G",
"source_vm_name": "{{user `source_vm_name`}}"


Must be veertu-anka

The path to a macOS installer. This must be provided if source_vm_name isn't provided. This process takes about 20 minutes

The size in “[0-9]+G” format, defaults to 25G

The size in “[0-9]+G” format, defaults to 2G

The number of CPU cores, defaults to 2

The VM to clone for provisioning, either stopped or suspended.

The name for the VM that is created. One is generated if not provided.

Development

You will need a recent golang installed and setup.

 packer-test

If you've already built a base macOS VM, you can use:

 packer-test SOURCE_VM_NAME=macos-10.12.3-base

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.