Automated Windows Server virtual machine templates in vSphere with Hashicorp Packer

  Рет қаралды 15,730

VirtualizationHowto

VirtualizationHowto

2 жыл бұрын

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: / @virtualizationhowto
My blog: www.virtualizationhowto.com
_____________________________________________________
Social Media: / vspinmaster
LinkedIn: / brandon-lee-vht
Github: github.com/brandonleegit
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:
www.virtualizationhowto.com/2...
You can clone down my Github repository files for Packer builds, including Windows Server 2022 here:
github.com/brandonleegit/Pack...

Пікірлер: 31
@Berkto00
@Berkto00
Thank you for your work and awesome blog ! :)
@handuo5698
@handuo5698 Жыл бұрын
thank you sir, much appreciated 👏
@gibotje
@gibotje Жыл бұрын
Thanks brother.
@kenmurphy4259
@kenmurphy4259 Жыл бұрын
Awesome content
@mandeepmails
@mandeepmails Жыл бұрын
Nice and Informative Video !
@fbifido2
@fbifido2 Жыл бұрын
Can you do a video on packer for Hyper-V with the same Windows Server 2022 ??
@phybroptyx1999
@phybroptyx1999
Have you had any success with this method for Windows Server 2016/2012R2? Each time I go through the steps, the VM is created, boots, but indicates that there are no images available. The curious thing is that you see 4 images (Std/Data w/Desktop Experience and Std/Data Core) when you create a VM manually and use the exact same ISOs. Not sure if anyone else has experienced this.
@Nimitz_oceo
@Nimitz_oceo
You didn’t show how you connected packer to your vsphere
@pbu80
@pbu80 Жыл бұрын
any solution if the vSphere environment does not have DHCP enabled, currently the build is halted at "==> vsphere-iso: Waiting for IP..."
@stannous2T
@stannous2T
Thank you for the wonderful video. Can this work with ESXi or have to be VSphere? Thanks again.
@TayschrennSedai
@TayschrennSedai Жыл бұрын
Why not use sccm at that point? Doesn't everyone prefer hiring a FTE for their home lab?
@fbifido2
@fbifido2 2 жыл бұрын
1. Can you also delete VM ?
@coreyman00
@coreyman00
how would i not use plain text password for the vsphere creds?
@kharmastreams8319
@kharmastreams8319 Жыл бұрын
I've tried using your files and for some reason I never get longer than waiting for WinRM to become available
@dogesking
@dogesking Жыл бұрын
Doesn’t work on vSphere Free Licence though, so it isn’t that homelab friendly
@notta3d
@notta3d Жыл бұрын
I was excited about watching this because we have a strong need as our VM templates constantly get out of date. Then boom I lost interest as I always do when a product requires an admin password to be stored in clear text in a file. Is there any way to truly secure that part of the process? It will never fly in our environment. Great video though.
Hashicorp Packer Crash Course with Digital Ocean
36:49
Joe Terlecki
Рет қаралды 14 М.
Kubernetes Cluster in Minutes in VMware vSphere using Rancher
14:51
VirtualizationHowto
Рет қаралды 43 М.
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 7 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
MiniPC vs Servers in the Home Lab in 2024
11:29
VirtualizationHowto
Рет қаралды 25 М.
Hashicorp Packer: Build a Windows server in AWS and manage with Ansible
18:54
LondonIAC / Dennis McCarthy / Automation Engineer
Рет қаралды 4,8 М.
Intro to Packer with AWS
26:01
Sam Meech-Ward
Рет қаралды 14 М.
Trigkey S7 Pro Review runs VMware and Proxmox perfectly // Home Lab Server
13:13
Step-by-Step Ansible Tutorial for Windows Server 2022: Optimizing WinRM
9:14
LondonIAC / Dennis McCarthy / Automation Engineer
Рет қаралды 20 М.
This web UI for Ansible is so damn useful!
20:07
Christian Lempa
Рет қаралды 467 М.
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 7 МЛН