updates: move Install-WindowsUpdates.ps1 at the top to fix winrm timeout (#3971)
This commit is contained in:
+12
-12
@@ -129,9 +129,17 @@
|
|||||||
],
|
],
|
||||||
"execution_policy": "unrestricted"
|
"execution_policy": "unrestricted"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "powershell",
|
||||||
|
"scripts": [
|
||||||
|
"{{ template_dir }}/scripts/Installers/Install-WindowsUpdates.ps1"
|
||||||
|
],
|
||||||
|
"elevated_user": "{{user `install_user`}}",
|
||||||
|
"elevated_password": "{{user `install_password`}}"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "windows-restart",
|
"type": "windows-restart",
|
||||||
"restart_timeout": "10m"
|
"restart_timeout": "30m"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "powershell",
|
"type": "powershell",
|
||||||
@@ -239,24 +247,16 @@
|
|||||||
"{{ template_dir }}/scripts/Installers/Install-GoogleCloudSDK.ps1",
|
"{{ template_dir }}/scripts/Installers/Install-GoogleCloudSDK.ps1",
|
||||||
"{{ template_dir }}/scripts/Installers/Install-CodeQLBundle.ps1",
|
"{{ template_dir }}/scripts/Installers/Install-CodeQLBundle.ps1",
|
||||||
"{{ template_dir }}/scripts/Installers/Install-BizTalkBuildComponent.ps1",
|
"{{ template_dir }}/scripts/Installers/Install-BizTalkBuildComponent.ps1",
|
||||||
"{{ template_dir }}/scripts/Installers/Disable-JITDebugger.ps1"
|
"{{ template_dir }}/scripts/Installers/Disable-JITDebugger.ps1",
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "powershell",
|
|
||||||
"scripts": [
|
|
||||||
"{{ template_dir }}/scripts/Installers/Install-WindowsUpdates.ps1",
|
|
||||||
"{{ template_dir }}/scripts/Installers/Configure-DynamicPort.ps1",
|
"{{ template_dir }}/scripts/Installers/Configure-DynamicPort.ps1",
|
||||||
"{{ template_dir }}/scripts/Installers/Configure-GDIProcessHandleQuota.ps1",
|
"{{ template_dir }}/scripts/Installers/Configure-GDIProcessHandleQuota.ps1",
|
||||||
"{{ template_dir }}/scripts/Installers/Configure-Shell.ps1",
|
"{{ template_dir }}/scripts/Installers/Configure-Shell.ps1",
|
||||||
"{{ template_dir }}/scripts/Installers/Enable-DeveloperMode.ps1"
|
"{{ template_dir }}/scripts/Installers/Enable-DeveloperMode.ps1"
|
||||||
],
|
]
|
||||||
"elevated_user": "{{user `install_user`}}",
|
|
||||||
"elevated_password": "{{user `install_password`}}"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "windows-restart",
|
"type": "windows-restart",
|
||||||
"restart_timeout": "30m"
|
"restart_timeout": "10m"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "powershell",
|
"type": "powershell",
|
||||||
|
|||||||
Reference in New Issue
Block a user