macOS 13.1 and Xcode 14.2

Also fixed #65
This commit is contained in:
fedor 2022-12-09 16:35:02 -05:00
parent 16eddff572
commit 537e5684fe
4 changed files with 13 additions and 10 deletions

View File

@ -12,20 +12,23 @@ See a full list of VMs available on Cirrus CI [here](https://github.com/orgs/cir
To build `macos-monterey-vanilla`:
```
```bash
packer build templates/vanilla-monterey.pkr.hcl
```
To build `macos-ventura-vanilla`:
```
packer build --verbose templates/vanilla-ventura.pkr.hcl
```bash
packer build templates/vanilla-ventura.pkr.hcl
```
Optionally, SIP can be disabled for each image by running the following commands:
```
```bash
packer build -var vm_name=monterey-vanilla templates/disable-sip.pkr.hcl
```
```bash
packer build -var vm_name=ventura-vanilla templates/disable-sip.pkr.hcl
```

View File

@ -22,7 +22,7 @@ source "tart-cli" "tart" {
vm_name = "${var.macos_version}-base"
cpu_count = 4
memory_gb = 8
disk_size_gb = 40
disk_size_gb = 50
ssh_password = "admin"
ssh_username = "admin"
ssh_timeout = "120s"
@ -66,9 +66,9 @@ build {
"brew install rbenv",
"echo 'if which rbenv > /dev/null; then eval \"$(rbenv init -)\"; fi' >> ~/.zprofile",
"source ~/.zprofile",
"rbenv install 3.0.4",
"rbenv global 3.0.4",
"sudo gem install bundler",
"rbenv install 3.0.5",
"rbenv global 3.0.5",
"gem install bundler",
]
}
provisioner "shell" {

View File

@ -10,7 +10,7 @@ packer {
source "tart-cli" "tart" {
# You can find macOS IPSW URLs on various websites like https://ipsw.me/
# and https://www.theiphonewiki.com/wiki/Beta_Firmware/Mac/13.x
from_ipsw = "https://updates.cdn-apple.com/2022FallFCS/fullrestores/012-92188/2C38BCD1-2BFF-4A10-B358-94E8E28BE805/UniversalMac_13.0_22A380_Restore.ipsw"
from_ipsw = "https://updates.cdn-apple.com/2022FallFCS/fullrestores/012-60270/0A7F49BA-FC31-4AD9-8E45-49B1FB9128A6/UniversalMac_13.1_22C65_Restore.ipsw"
vm_name = "ventura-vanilla"
cpu_count = 4
memory_gb = 8

View File

@ -14,7 +14,7 @@ variable "macos_version" {
variable "xcode_version" {
type = string
default = "14.1"
default = "14.2-RC"
}
source "tart-cli" "tart" {