Only in Azure VM i had to install ovftool because packer is looking for it while exporting. Its not exporting to ESX datastore. Its looking in azure VM, so when I installed its not looking anymore but gets the curl error. In VMware VM I didnt need to install ovftool, packer was exporting to ESX machine. IN both cases I didnt use format option.
Thanks for checking this. Shyam On Wednesday, 15 August 2018 02:40:01 UTC+5:30, Gabo Kete wrote: > > Have you installed Ovftool on both VMs ( Azure and VMWare ) ? as far as I > remember, packer uses their own ovftool internally.. so try to remove the > one you have installed yourself and let packer handle it > > On Tuesday, August 14, 2018 at 11:47:19 PM UTC+12, Shyam J wrote: >> >> This is how it is. >> >> Packer server (Azure VM) > Remote ESXi > Looks for ovftool to export >> Packer server (Vmware VM) > Remote ESXi > Skips exports locally and >> exports in ESX machine. >> >> Both are talking with the same ESXi server. Skip_export or 'format' flag >> is not mentioned in both cases. >> >> Thanks >> Shyam >> >> On Wednesday, 8 August 2018 01:40:29 UTC+5:30, Alvaro Miranda Aguilera >> wrote: >>> >>> i read the update >>> >>> but i don't understand the problem at all >>> >>> this part makes all hard to follow: " why image is getting exported to >>> this azure VM" >>> >>> What is getting exported to AzureVM ? >>> >>> If you share debug logs those can help >>> >>> but explanation is hard to follow as is. >>> >> -- 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/cf1325dc-2dbc-42ac-89ef-a3e4ff824261%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
