mirror of
https://github.com/actions/runner-images.git
synced 2026-01-07 02:28:54 +08:00
[Windows] Add Wireless LAN feature (#9373)
* [Windows] Add Wireless LAN feature * Change WLAN service startup type to manual * Update template directly
This commit is contained in:
@@ -272,6 +272,10 @@ build {
|
||||
restart_timeout = "30m"
|
||||
}
|
||||
|
||||
provisioner "powershell" {
|
||||
inline = ["Set-Service -Name wlansvc -StartupType Manual", "if ($(Get-Service -Name wlansvc).Status -eq 'Running') { Stop-Service -Name wlansvc}"]
|
||||
}
|
||||
|
||||
provisioner "powershell" {
|
||||
environment_vars = ["IMAGE_FOLDER=${var.image_folder}"]
|
||||
scripts = [
|
||||
|
||||
Reference in New Issue
Block a user