The simplest way to learn about this is just to issue your manual command
and after that inspect the VMX file and see if it's there. If it is you can
add the same thing to vmx_post.

On Fri, Feb 22, 2019, 23:50 Steven Stratis <[email protected] wrote:

> I'm building out VMware iso images successfully but need to be able to set
> a certain flag in the template, which is disk.enableUUID=1
>
> Is it possible to do this in Packer? Maybe using something in the
> vmx_data?  This flag is needed for disk identification from the vSphere
> Cloud Provider in Kubernetes.
> I'm currently able to set it manually from the command line using govc...
>
> govc vm.change -vm Ubuntu1804Template -c 4 -m 4096 -e="disk.enableUUID=1"
>
> It would be great to be able to do this while building it up in Packer
> though.
>
> Thanks for any help!
>
>
> --
> 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/312d7595-6fa1-443f-9c92-11dcda487d0e%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/312d7595-6fa1-443f-9c92-11dcda487d0e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CALz9Rt-Xh4Z%2BRc%3DbfO-1THHosJ9whwQ1ZEF2Z2ks-LWhRPs4DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to