Back to Blog
![]() Populating the FILES directory ├── SDelete.zip Installing VMware tools from a specific installer with powershell.Setting a wsus group and local IP to speed up build time.Improved cleanup of the disk using dism for smaller vmdk size.Uninstalling the SSH server on shutdown.Using -var-file to hold final password and wsus server settings per packer build machine.Running windows updates from a packer shell provisioner.Build the image using a commercial ssh server from.I'm posting this to share some different approaches to building the windows image and related code. This is a simplified version of our Windows Server 2012 r2 packer template for ESXi/vCloud Director. Packer.io template and related scripts for building Windows Server 2012 r2 ESXi virtual machines. Take a look at this newer repo for a current template for windows. Additionaly it doesn't use winrm which is highly advised for building windows images. It will not work out of the box with current versions of packer. This packer workflow is very dated at this point.
0 Comments
Read More
Leave a Reply. |