VMware

Automated Windows Server virtual machine templates in vSphere with Hashicorp Packer



Building automated Windows Server vSphere templates is a great way to take away the burden of having to build your vSphere templates by hand. Using Hashicorp Packer, we can fully automate the build process of Windows Server and Linux vSphere templates and keep the templates fresh with the latest updates and other applications. The video takes a detail look at what is needed to use Packer to perform machine image automation, where to download Packer, how to configure your Packer files for the automated build process, and demonstrates how to actually run the build.

Subscribe to the channel:

My blog:

_____________________________________________________

Social Media:
LinkedIn:
Github:

Downloading Hashicorp Packer – 0:57
Create the files Packer needs for the automated Windows Server vSphere template – 1:53
Looking at the Packer variables file – 3:12
Looking at the Windows Server 2022 build file – 4:38
Describing the autounattend.xml file for automated Windows installation – 5:25
Installing VMware Tools automatically during the Packer Build – 6:20
Running the Packer build command – 7:15
Monitoring progress of the Packer build process using the Remote Console – 8:10
Running the automated build of Windows Server 2022 – Windows Updates are getting installed – 8:31
The Packer build of Windows Server 2022 completely successfully – 9:00
Final thoughts on fully automated Windows Server templates using Hashicorp Packer – 9:25

Take a look at my written writeup of the Packer build of Windows Server 2022 here:

You can clone down my Github repository files for Packer builds, including Windows Server 2022 here:



source

Related Articles

Leave a Reply

Back to top button