Wondering whether anyone has experienced the following issue? I am using the win-updates.ps1 powershell script from StefanScherer's repo which has allowed me to successfully build Windows 2016 servers.
https://github.com/StefanScherer/packer-windows/blob/my/scripts/win-updates.ps1 The script correctly identifies missing available updates from a Windows 2019 vmware-iso packer build. It installs the necessary patches (the logfile created C:\Windows\Temp\win-updates.log) confirms this) - the logfile also confirms there are no applicable updates & Done Installing Windows Updates. Packer then successfully completes the build (I am using winrm as a communicator). However when I open the virtual machine (I keep it registered with the ESXi host I am building it on), and manually check for updates, I am prompted to install KB4480116 - 2019-01 Cumulative Update for Windows Server 2019. This happens every time currently with my vmware-iso packer builds of Server 2019. -- 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/mitchellh/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/a834a805-4f16-40ec-bcd4-640cd3f1295b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
