mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00: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
@@ -2,7 +2,7 @@
|
||||
|
||||
The runner-images project uses [Packer](https://www.packer.io/) to generate disk images for Windows 2019/2022 and Ubuntu 20.04/22.04.
|
||||
|
||||
Each image is configured by a JSON or HCL2 Packer template that specifies where to build the image (Azure, in this case),
|
||||
Each image is configured by a HCL2 Packer template that specifies where to build the image (Azure, in this case),
|
||||
and what steps to run to install software and prepare the disk.
|
||||
|
||||
The Packer process initializes a connection to the Azure subscription using Azure CLI and creates temporary resources
|
||||
|
||||
@@ -21,7 +21,6 @@ Log into the Azure Portal. Find that resource group under `Resource groups`. Y
|
||||
## Step 3: Connect to the VM
|
||||
Select the VM in the resource group. Click `Connect:`
|
||||
|
||||
This will download an RDP file. Open that and enter the credentials found in the JSON file you pass to `packer build`:
|
||||
This will download an RDP file. Open that and enter the credentials found in the HCL2 file you pass to `packer build`:
|
||||
|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user