Using HashiCorp Packer to deploy a VM

  • 31 May 2020
  • 4 replies
  • 4498 views

Userlevel 2
Badge +2

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!


This topic has been closed for comments

4 replies

Userlevel 5
Badge +4

This may also help you 

 

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

Userlevel 1
Badge +1

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

Userlevel 2
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

Badge

Morning all, this thread looks quite old now- anyone made more progress with this? Im about to start this journey now from scratch so looking for the most up to date efforts- I will post my progress fwiw anyway-

thanks-