parent
16eddff572
commit
537e5684fe
11
README.md
11
README.md
|
|
@ -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`:
|
To build `macos-monterey-vanilla`:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
packer build templates/vanilla-monterey.pkr.hcl
|
packer build templates/vanilla-monterey.pkr.hcl
|
||||||
```
|
```
|
||||||
|
|
||||||
To build `macos-ventura-vanilla`:
|
To build `macos-ventura-vanilla`:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
packer build --verbose templates/vanilla-ventura.pkr.hcl
|
packer build templates/vanilla-ventura.pkr.hcl
|
||||||
```
|
```
|
||||||
|
|
||||||
Optionally, SIP can be disabled for each image by running the following commands:
|
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
|
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
|
packer build -var vm_name=ventura-vanilla templates/disable-sip.pkr.hcl
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ source "tart-cli" "tart" {
|
||||||
vm_name = "${var.macos_version}-base"
|
vm_name = "${var.macos_version}-base"
|
||||||
cpu_count = 4
|
cpu_count = 4
|
||||||
memory_gb = 8
|
memory_gb = 8
|
||||||
disk_size_gb = 40
|
disk_size_gb = 50
|
||||||
ssh_password = "admin"
|
ssh_password = "admin"
|
||||||
ssh_username = "admin"
|
ssh_username = "admin"
|
||||||
ssh_timeout = "120s"
|
ssh_timeout = "120s"
|
||||||
|
|
@ -66,9 +66,9 @@ build {
|
||||||
"brew install rbenv",
|
"brew install rbenv",
|
||||||
"echo 'if which rbenv > /dev/null; then eval \"$(rbenv init -)\"; fi' >> ~/.zprofile",
|
"echo 'if which rbenv > /dev/null; then eval \"$(rbenv init -)\"; fi' >> ~/.zprofile",
|
||||||
"source ~/.zprofile",
|
"source ~/.zprofile",
|
||||||
"rbenv install 3.0.4",
|
"rbenv install 3.0.5",
|
||||||
"rbenv global 3.0.4",
|
"rbenv global 3.0.5",
|
||||||
"sudo gem install bundler",
|
"gem install bundler",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
provisioner "shell" {
|
provisioner "shell" {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ packer {
|
||||||
source "tart-cli" "tart" {
|
source "tart-cli" "tart" {
|
||||||
# You can find macOS IPSW URLs on various websites like https://ipsw.me/
|
# You can find macOS IPSW URLs on various websites like https://ipsw.me/
|
||||||
# and https://www.theiphonewiki.com/wiki/Beta_Firmware/Mac/13.x
|
# 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"
|
vm_name = "ventura-vanilla"
|
||||||
cpu_count = 4
|
cpu_count = 4
|
||||||
memory_gb = 8
|
memory_gb = 8
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ variable "macos_version" {
|
||||||
|
|
||||||
variable "xcode_version" {
|
variable "xcode_version" {
|
||||||
type = string
|
type = string
|
||||||
default = "14.1"
|
default = "14.2-RC"
|
||||||
}
|
}
|
||||||
|
|
||||||
source "tart-cli" "tart" {
|
source "tart-cli" "tart" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue