joefitzgerald / packer-windows

Windows Packer Templates
MIT License
1.63k stars 1.12k forks source link

Define MaxUpdatesPerCycle for updates on 2008 R2 builds #135

Closed vmrob closed 9 years ago

vmrob commented 9 years ago

Previously, the 2008 R2 build would time out due to an unidentified problem during the update process. It seems that limiting the number of updates applied at once solves the problem.

Until the problem is identified and a proper fix formed, the Autounattend scripts for 2008 R2 has been updated to make use of this workaround. The problem persists with 2008 R2 Core even with this addition.


Issue described in #134

joefitzgerald commented 9 years ago

LGTM

dylanmei commented 9 years ago

I was stuck here as well. Setting MaxUpdatesPerCycle to 30 (and extending the wait timeout) worked for me. Thanks @vmrob!

lmayorga1980 commented 9 years ago

@vmrob So, you still need to uncomment 99 step without the -Autostart argument for the ssh. With the Windows Update setup of course.

floradu88 commented 9 years ago

This issue is with all the versions. There are more than 500 updates on 2008r2 alone. Sometimes it takes more than 8 hours.