You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
| <aname="input_ami_filter"></a> [ami\_filter](#input\_ami\_filter)| The amis to search. Use the default for the provided amazon linux image, `github-runner-windows-core-2019-*` for the provided widnows image |`string`|`github-runner-amzn2-x86_64-2021*`| no |
14
+
| <aname="input_github_app_key_base64"></a> [github\_app\_key\_base64](#input\_github\_app\_key\_base64)| The base64 encoded private key you downloaded from GitHub when creating the app |`string`|| yes |
15
+
| <aname="input_github_app_id"></a> [github\_app\_id](#input\_github\_app\_id)| The id of the app you created on GitHub |`string`|| yes |
16
+
| <aname="input_region"></a> [region](#input\_region)| The target aws region |`string`|`eu-west-1`| no |
17
+
| <aname="input_runner_os"></a> [runner\_os](#input\_runner\_os)| The os of the image, either `linux` or `windows`|`string`|`linux`| no |
Copy file name to clipboardExpand all lines: images/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ The images inside this folder are pre-built images designed to shorten the boot
4
4
5
5
These images share the same scripting as used in the user-data mechanism in `/modules/runners/templates/`. We use a `tempaltefile` mechanism to insert the relevant script fragments into the scripts used for provisioning the images.
6
6
7
-
The example in `linux-amzn2` also uploads a `start-runner.sh` script that uses the exact same startup process as used in the user-data mechanism. This means that the image created here does not need any extra scripts injected or changes to boot up and connect to GH.
7
+
The examples in `linux-amzn2`and `windows-core-2019`also upload a `start-runner` script that uses the exact same startup process as used in the user-data mechanism. This means that the image created here does not need any extra scripts injected or changes to boot up and connect to GH.
# I'm not really sure why we need the cmd.exe wrapper, but it works with it and doesn't work without it
23
+
cmd.exe/c winrm quickconfig -q
24
+
cmd.exe/c winrm set "winrm/config"'@{MaxTimeoutms="1800000"}'
25
+
cmd.exe/c winrm set "winrm/config/winrs"'@{MaxMemoryPerShellMB="1024"}'
26
+
cmd.exe/c winrm set "winrm/config/service"'@{AllowUnencrypted="true"}'
27
+
cmd.exe/c winrm set "winrm/config/client"'@{AllowUnencrypted="true"}'
28
+
cmd.exe/c winrm set "winrm/config/service/auth"'@{Basic="true"}'
29
+
cmd.exe/c winrm set "winrm/config/client/auth"'@{Basic="true"}'
30
+
cmd.exe/c winrm set "winrm/config/service/auth"'@{CredSSP="true"}'
31
+
cmd.exe/c winrm set "winrm/config/listener?Address=*+Transport=HTTPS""@{Port=`"5986`";Hostname=`"packer`";CertificateThumbprint=`"$($Cert.Thumbprint)`"}"
32
+
cmd.exe/c netsh advfirewall firewall set rule group="remote administration" new enable=yes
0 commit comments