Hi Alvaro, Thanks for your answer. Installing a ESXi host is not an option for me at the moment and I will go with the conversion method. One more question, do you know any tool to convert the VM into a thin-provisioned, esxi-compatible disk? I've managed to use `VBoxManage clonemedium` utility to clone an existing disk but it forces me to convert it using a fixed size variant (thick).
On Tuesday, October 2, 2018 at 7:41:32 PM UTC+1, Alvaro Miranda Aguilera wrote: > > Hello. > > I can think on 2 options. > > 1. you run the VM converter and convert the VM before giving it to your > customer. > 2. Install ESXi host, and either build/convert a VM and then use OVFTool > to export as OVA. That will be from ESXi to ESXi. > > Alvaro. > > On Mon, Oct 1, 2018 at 7:40 PM Elisiário Couto <[email protected] > <javascript:>> wrote: > >> Hello, >> >> I use packer to build some appliances. Everything is working properly for >> every target hypervisor except with the vmware-iso. My "builder" machine >> has Workstation Player 12 installed. The build process is working but when >> I try to import the VM in a ESXi 6 host, I get the following error >> "Unsupported or invalid disk type 7". According to VMware KB >> <https://kb.vmware.com/s/article/1028943>, this error occurs if a >> virtual machine that is meant for VMware Hosted products such as VMware >> Workstation, VMware Player or VMware Fusion is powered-on on an ESX/ESXi >> host. >> My goal is to build a VM without my costumer having to do some manual >> steps like converting the disk and so on. No matter how many times I read >> the documentation, I'm having problems building a ESXi-compatible VM with >> Workstation Player. The disk_type_id apparently does not work, even though >> the documentation states that disk_type_id 4 is ESX compatible. >> >> Does anyone know how to build a ESXi-compatible VM without a ESXi host? >> >> Thanks in advance >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/832029b0-8054-49f3-b8ae-f6753705358d%40googlegroups.com >> >> <https://groups.google.com/d/msgid/packer-tool/832029b0-8054-49f3-b8ae-f6753705358d%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/9778803b-0100-40c6-9a3d-0ba7aee10cae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
