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
packer build -var macos_version=sonoma templates/base.pkr.hcl
packer build -var macos_version=sonoma -var xcode_version="[15.4]" templates/xcode.pkr.hcl