Hashicorp Packer templates for building Veertu Anka virtual machine images.
- Install
asdf
for tool version management (Recommended) - Install Veertu Anka Flow
brew cask install anka-flow
- License Anka Flow
sudo anka license activate <key>
- Install Packer (<=
v1.4.5
, See packer-builder-veertu-anka#16)asdf plugin-add packer && asdf install packer 1.4.5
- Install Packer Builder for Anka
- Ensure you have the macOS Catalina installer locally at
/Applications/Install macOS Catalina.app
- To build the Xcode image, ensure
$FASTLANE_USER
and$FASTLANE_PASSWORD
are set in your local dev environment. Fastlane uses Apple Developer credentials to fetch Xcode from developer.apple.com.export FASTLANE_USER=johnny@appleseed.com && export FASTLANE_PASSWORD=p@$$WorD
VPN software is known to interfere with VM interaction; please disable it before continuing.
To run packer build
commands, first cd
to the packer/
directory in this repository.
-
All images are ultimately based on a vanilla image, which must be build first:
packer build macos-vanilla-10.15.json
-
To build the general CI image (Uses Vanilla as base):
packer build macos-ci-10.15.json
-
To build the Xcode image (Uses CI as base):
packer build macos-xcode-10.15.json