We recommend doing it as part of the autounattend before connecting to Packer, (for an example see this community member's very complete repo: https://github.com/StefanScherer/packer-windows/blob/main/answer_files/2016/Autounattend.xml#L194) or via the community-maintained windows-update provisioner: https://github.com/rgl/packer-provisioner-windows-update
On Mon, Feb 15, 2021 at 7:00 AM Tony Wong <[email protected]> wrote: > how do I apply windows updates as part of a packer 2016 build? > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/hashicorp/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/CALmkhkraADT3Tw%2BSMnOTzvzEHTNdTLJtGXNGH-wP42Soo%3DMHtQ%40mail.gmail.com > <https://groups.google.com/d/msgid/packer-tool/CALmkhkraADT3Tw%2BSMnOTzvzEHTNdTLJtGXNGH-wP42Soo%3DMHtQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/hashicorp/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAGPV1urbDnYUPQC%3DQh-A9CSXFCh%2BEcoKf2z8afL95XNrJMsE5Q%40mail.gmail.com.
