25 lines
515 B
Markdown
25 lines
515 B
Markdown
## Building Vanilla Image
|
|
|
|
To build `macos-sonoma-vanilla`:
|
|
|
|
```bash
|
|
packer build templates/vanilla-sonoma.pkr.hcl
|
|
```
|
|
|
|
Optionally, SIP can be disabled for each image by running the following commands:
|
|
|
|
```bash
|
|
packer build -var vm_name=sonoma-vanilla templates/disable-sip.pkr.hcl
|
|
```
|
|
|
|
## Building Base Image
|
|
|
|
```bash
|
|
packer build -var vm_name=sonoma-vanilla templates/base.pkr.hcl
|
|
```
|
|
|
|
## Building Xcode Image
|
|
|
|
```bash
|
|
packer build -var macos_version=sonoma -var xcode_version="[15.4]" templates/xcode.pkr.hcl
|
|
``` |