Skip to content

Commit 5fde679

Browse files
committed
ci: install-windows-updates, do not wait for Dism.exe
1 parent e12d364 commit 5fde679

File tree

1 file changed

+4
-1
lines changed
  • ci/tasks/install-windows-updates

1 file changed

+4
-1
lines changed

ci/tasks/install-windows-updates/run.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,7 @@ run_powershell_command_with_logging "Get-Hotfix > ${remote_hotfix_log_path}"
114114

115115
download_remote_file "${remote_hotfix_log_path}" hotfix-log/hotfixes.log
116116

117-
run_powershell_command_with_logging "Dism.exe /online /Cleanup-Image /StartComponentCleanup"
117+
dism_cmd="Dism.exe /online /Cleanup-Image /StartComponentCleanup"
118+
echo "Running: ${dism_cmd}" >&2
119+
# not using `run_powershell_command_with_logging`, vmware tools may be stopped before pid can be fetched
120+
start_powershell_command "${dism_cmd}"

0 commit comments

Comments
 (0)