I think the way to achive what you want is build with vmware builder on
ESXi and then use the vSphere post-processor to upload it to vCenter with
the correct settings.

See https://www.packer.io/docs/post-processors/vsphere.html

(The vsphere post-processors have some open bug reports and might need some
adjustment to work properly for you, but the code is trivial and most
simple fixes should be easy to do even without any previous Go knowledge.)

On 19 October 2016 at 20:32, Rodrigo P. <[email protected]>
wrote:

> Hello,
>
> At this point I am able to use packer to build a VM on esxi host.
>
> But I'd like to achieve also the following distinct cases:
>
> Add the VM to a specific resource pool and folder on vCenter (that
> controls the same esxi)
>
> And also convert the VM to a template.
>
> Is this doable through provisioning somehow?
>
> Rgds
>
> --
> 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/3eec4dbe-abdc-4eee-a42a-4125e1a130d6%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CALz9Rt9gjpkKBqbrfqBnNvsO1pV0VCcm9ytyFexc5XF6Wsx2sQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to