Using HashiCorp Packer to deploy a VM

  • 31 May 2020
  • 3 replies
  • 1936 views

Hello! I’m new to the Nutanix community.  Loving the tech so far, but...

Has anyone used Packer to deploy Windows from within AHV? I’ve seen plenty of how-to’s on how to create a VM image that can be uploaded to AHV. I want to do the entire process within the cluster. Packer has a QEMU builder but not sure how I can tell it to build it on another VM within the cluster. I’m trying to replace my MDT image deployment process with something that can do Windows and Linux and is more RCS/git friendly. I’m not married to Packer so I’ll take suggestions on other possibilities. And if more detail is needed on what I’m doing currently or desired outcome let me know. Thanks in advance!


3 replies

Userlevel 1
Badge +1

Same boat... If you figure it out let us know! 

Userlevel 1
Badge +3

Haven’t noticed anything from official documentation or internal

Based on google search, I have found:

https://medium.com/@jesse_boyce/building-nutanix-ahv-templates-with-packer-334f454ae1f4

Userlevel 5
Badge +4

This may also help you 

 

https://github.com/hashicorp/packer/pull/8175

Reply