mirror of
https://github.com/cirruslabs/macos-image-templates.git
synced 2026-10-19 07:10:44 +02:00
13071e71bed8508e7ff1c514372df7c3cc3dd756
Enabling `Develop` menu started failing in 14.3 with: ```console Could not write domain /Users/admin/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari; exiting ``` We actually only interested in enabling remote automation for CI which is done by `safaridriver`. Having `Develop` menu item is not necessary.
macOS Packer Templates for Tart
Repository with Packer templates to build Tart VMs to use with Cirrus Runners and Cirrus CI.
macos-{monterey,ventura,sonoma}-vanillaimage has nothing pre-installedmacos-{monterey,ventura,sonoma}-baseimage has onlybrewpre-installedmacos-{monterey,ventura,sonoma}-xcode:Nimage is based onmacos-{monterey,ventura}-baseimage and hasXcode NwithFlutterpre-installed
See a full list of VMs available here.
Building Vanilla Image
To build macos-sonoma-vanilla:
packer build templates/vanilla-sonoma.pkr.hcl
Optionally, SIP can be disabled for each image by running the following commands:
packer build -var vm_name=sonoma-vanilla templates/disable-sip.pkr.hcl
Building Base Image
packer build -var-file="variables.pkrvars.hcl" templates/base.pkr.hcl
Building Xcode Image
packer build -var-file="variables.pkrvars.hcl" templates/xcode.pkr.hcl
Languages
HCL
65%
Shell
20.3%
Objective-C
12.3%
C
2.4%