Converting an OVA from ESXi to a BOX?

258 views
Skip to first unread message

Ray Bond

unread,
Sep 16, 2015, 4:25:34 PM9/16/15
to Vagrant
I have a Windows 7 64bit VM on an ESXi / vSphere server.

I exported the VM using ovftool to Windows7.ova.

Is it possible to use vagrant / packer to convert the OVA file to a BOX file that is compatible with the
vagrant-vsphere plugin?

Thanks,
R

Ray Bond

unread,
Sep 17, 2015, 4:12:08 PM9/17/15
to Vagrant
I'm using ovftool to export the VM from the ESXi server to an OVA file so I guess my real question is how can I convert an OVA file to a BOX file?

The only way I can see is by verifying that the OVA is compatible with virtualbox, then deploy it using vagrant / packer, and then finally export it to a BOX file? Is there an easier way?

Alvaro Miranda Aguilera

unread,
Sep 17, 2015, 11:59:01 PM9/17/15
to vagra...@googlegroups.com
Hello

The Vagrant-vsphere doesn't require any box file , it will clone a VM
or template in the vSphere server

I will suggest go to the github repo of the plugin, and read the instructions.

Thanks
Alvaro.


On Thu, Sep 17, 2015 at 8:25 AM, Ray Bond <ront...@gmail.com> wrote:
> I have a Windows 7 64bit VM on an ESXi / vSphere server.
>
> I exported the VM using ovftool to Windows7.ova.
>
> Is it possible to use vagrant / packer to convert the OVA file to a BOX file
> that is compatible with the vagrant-vsphere plugin?
>
>
> Thanks,
> R
>
> --
> 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/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vagrant-up+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/2c55bd09-2701-4633-95c0-7380fc5e30c6%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Ray Bond

unread,
Nov 9, 2015, 4:58:58 PM11/9/15
to Vagrant
Hi Alvaro, apologies for the late response.

The issue with vagrant-vsphere is that it doesn't support unmanaged ESX servers. We do not have vCenter at my company but we have many licensed and unlicensed ESX servers to manage our VMs.

I've been recently playing with vagrant-vsphere and vagrant-esx plugins but having a lot of trouble. We use Windows VMs on ESX 6.0 and using the vagrant-esx plugin, I'm having many SSH (and random commandline) issues. Using mobassh at the moment to ssh to windows.

Any advice?

Thanks,

Alvaro Miranda Aguilera

unread,
Nov 10, 2015, 1:26:20 AM11/10/15
to vagra...@googlegroups.com
Hello Ray!

I think you should be able to use that plugin.

vSphere stand for the protocol to talk to the ESXi

The paid product is vCentre.

I think the vSphere agent can manage both just fine.

Can you check this web page to see if apply?

http://dor.ky/using-vmware-vsphereesxi-as-a-provider-for-vagrant/

Thanks
Alvaro.
> https://groups.google.com/d/msgid/vagrant-up/99f5fa16-4f42-4fb9-9f53-c670c64e6cd7%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages