Hello Not sure if you saw this:
https://www.packer.io/docs/builders/vmware-iso.html#version On Wed, Mar 28, 2018 at 12:14 PM, Dave Nelson <[email protected]> wrote: > Hey all, > > Am using Packer version 1.2.1 > Host Platform - ESXi 5.0 > > Am using Packer to create a Windows 7 image against one of our ESXi 5.0 > hosts. > > Now, as the remote_type is esxi5, I didn't perceive any issues. However, > as the default virtualHW.version is 9, I have > specified "virtualHW.version": "8" in the "vmx_data" section of my JSON > file. I also specified "version": 8 in the Builders section of the JSON > file. > > When Packer tries building and writing the VMX file, the VM is registered > on the ESXi host as 'unknown'. The VM fails to start and is then deleted > as part of the clean-up process. > > Before the VM is deleted, I downloaded the VMX file and noted > that virtualhw.version = "9". Does anyone know why? I am explicitly > setting the virtual hardware version to 8 in the JSON file but it is being > ignored. > > The ESXi host is being managed by a vCenter server (I am targeting the > ESXi host directly) but is not part of any cluster so wondering if this is > anything to do with it. > > Any clues as to why I am seeing this issue would be gratefully received. > > Cheers, > > Dave. > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/031bc20c-7701-4e77-b906-852eb6740c4c%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/031bc20c-7701-4e77-b906-852eb6740c4c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAHqq0eww%2B0R131osmC9XGoNFn7BOF_X5WtZet7LGK11kQuBL%2BA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
