Skip to content

Instantly share code, notes, and snippets.

@lox
Created July 6, 2017 10:18
Show Gist options
  • Save lox/ca21460379a990e1485d31395a651e52 to your computer and use it in GitHub Desktop.
Save lox/ca21460379a990e1485d31395a651e52 to your computer and use it in GitHub Desktop.
Reproducing Packer/Anka Builder Plugin errors
# Install golang
brew install go
mkdir $HOME/go
export GOPATH=$HOME/go
# Checkout packer builder
mkdir -p $HOME/go/src/github.com/lox
git clone https://github.com/lox/packer-builder-veertu-anka.git $HOME/go/src/github.com/lox/packer-builder-veertu-anka
cd $HOME/go/src/github.com/lox/packer-builder-veertu-anka
# Build a base image to work with
anka create-disk --size 20G --app /Applications/Install\ macOS\ Sierra.app
anka create --image-id 9b85cd17-5bcf-11e7-a7df-a45e60d8d009 macos-10.12.3-base
# Run the tests
PACKER_ANKA_DISK_BASE=macos-10.12.3-base go test -v ./builder/anka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment