mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-29 12:58:00 +08:00
[macos] Convert packer templates to HCL2 (#9098)
* [macos] Convert packer templates to HCL2 * Fix inline shell provisioner * Fix folder name * Fix bootstrap folder copy
This commit is contained in:
committed by
GitHub
parent
9da2ec6b06
commit
4960fde8f7
@@ -63,6 +63,7 @@ jobs:
|
||||
'Using ssh communicator to connect:'
|
||||
)
|
||||
|
||||
packer init ${{ parameters.template_path }}
|
||||
packer build -on-error=abort `
|
||||
-var="vcenter_server=$(vcenter-server-v2)" `
|
||||
-var="vcenter_username=$(vcenter-username-v2)" `
|
||||
|
||||
@@ -19,5 +19,5 @@ jobs:
|
||||
parameters:
|
||||
image_label: 'macOS Big Sur'
|
||||
base_image_name: 'clean-macOS-11-380Gb-runner'
|
||||
template_path: 'templates/macOS-11.json'
|
||||
template_path: 'templates/macOS-11.pkr.hcl'
|
||||
target_datastore: 'ds-image'
|
||||
|
||||
@@ -19,5 +19,5 @@ jobs:
|
||||
parameters:
|
||||
image_label: 'macOS Monterey'
|
||||
base_image_name: 'clean-macOS-12-380Gb-runner'
|
||||
template_path: 'templates/macOS-12.json'
|
||||
template_path: 'templates/macOS-12.pkr.hcl'
|
||||
target_datastore: 'ds-image'
|
||||
|
||||
Reference in New Issue
Block a user