Packer
Tart
@cirruslabs
Create macOS and Linux VMs for Apple Silicon powered by Tart virtualization.
- Community
Updated 2 years ago
- GitHub(opens in new tab)
Tart
The tart
builder is used to create macOS and Linux VMs for Apple Silicon powered by Tart.
Here are some highlights of Tart:
- Tart uses Apple's own
Virtualization.Framework
for near-native performance. - Push/Pull virtual machines from any OCI-compatible container registry.
- Built-in CI integration.
- Use this Tart Packer Plugin to automate VM creation.
Installation
To install this plugin, copy and paste this code into your Packer configuration, then run packer init
.
packer {
required_plugins {
tart = {
version = ">= 1.11.1"
source = "github.com/cirruslabs/tart"
}
}
}
Alternatively, you can use packer plugins install
to manage installation of this plugin.
$ packer plugins install github.com/cirruslabs/tart
Installing Tart
The plugin requires a working installation of Tart. To install and verify your installation:
brew install cirruslabs/cli/tart
tart clone ghcr.io/cirruslabs/macos-ventura-vanilla:latest ventura-vanilla
tart run ventura-vanilla
Or follow the quick start guide here.