hv-packer icon indicating copy to clipboard operation
hv-packer copied to clipboard

Support for Packer Windows Update Provisioner

Open jwmoss opened this issue 3 years ago • 3 comments

Have you considered integrating Packer Windows Update Provisioner into your provision steps? The output of this plugin is much cleaner when ran via PowerShell vs raw output of the WU com object with PSWindowsupdate.

I'll be testing this against Windows Server 2019 DC and will report back if there are any issues.

Love the work you've done so far! Having come from a VMware shop to HyperV shop has been challenging, but your code has helped tremendously!

jwmoss avatar May 11 '21 20:05 jwmoss

Hi @jwmoss - this is an excellent idea, however, I wanted scripts to be both usable in packer AND bare-metal construction. Thank you for your kind words - I really appreciate it. I am not saying no to Packer, but I need to reconsider the posibilities

marcinbojko avatar May 12 '21 05:05 marcinbojko

Hi @jwmoss - this is an excellent idea, however, I wanted scripts to be both usable in packer AND bare-metal construction. Thank you for your kind words - I really appreciate it.

I am not saying no to Packer, but I need to reconsider the posibilities

That makes sense! I myself use the module to manage updates as well, so I know how powerful it is.

jwmoss avatar May 12 '21 05:05 jwmoss

Your idea is an excellent, in a form I hate this repetitious task, as WU always reports different count of updates than reality says.

marcinbojko avatar May 12 '21 05:05 marcinbojko

It's only a year and a half , but next release should support this plugin

marcinbojko avatar Dec 20 '22 17:12 marcinbojko