[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:
Alexey-Ayupov
2024-02-22 16:12:24 +01:00
committed by GitHub
parent 554135d9c6
commit 39b838e8fd
5 changed files with 16 additions and 2 deletions

View File

@@ -263,6 +263,10 @@ build {
restart_timeout = "10m"
}
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 = [