Blah, Cloud.

Adventures in architectures

  • Twitter
  • GitHub
  • Home
  • Blog
  • Kubernetes on vSphere
  • Multi-tenant IaaS Networking
  • Me
    • About
    • CV
    • Contact
Home » Blog » Virtualisation » Using VMWare’s OVFTool to convert VMX to OVA

Using VMWare’s OVFTool to convert VMX to OVA

10/02/2014 by Myles Gray Leave a Comment

It’s sometimes necessary (say you’ve been working on a VM on your local workstation in either VMWare Fusion, or VMWare Workstation) to move the VM you’ve been playing with to an ESXi instance to either move into development or to have it properly backed up etc.

The easiest way I find to do this is create a .ova file from the VM i’ve been working on.

First install the VMWare OVATool found here on whatever flavour your OS is (sign in required): https://my.vmware.com/group/vmware/details?downloadGroup=OVFTOOL350&productId=352

Once it’s running, navigate to the install folder (i’m using OSX, if you use Windows I assume it’s installed in the system path and you can execute it directly from any directory) and the syntax is as follows:

./ovftool [original .vmx location and filename] [new .ova location and filename]

So in my case I was working on the wonderful YubiX authentication virtual appliance:

./ovftool ~/Documents/vms/yubix.vmx ~/Documents/vms/yubix.ova

The output will be somewhat similar to the below:

graym$ ./ovftool ~/Documents/vms/yubix.vmx ~/Documents/vms/yubix.ova
Opening VMX source: /Users/graym/Documents/vms/yubix.vmx
Opening OVA target: /Users/graym/Documents/vms/yubix.ova
Writing OVA package: /Users/graym/Documents/vms/yubix.ova
Transfer Completed                    
Completed successfully

Then I just used the deploy OVF Template wizard in vSphere Web Client.

VMWare Deploy OVF Template

Why not follow @mylesagray on Twitter for more like this!

Show some love:

  • Reddit
  • Twitter
  • Pocket
  • LinkedIn
  • Email
  • Telegram

Similar things I've written

Filed Under: Virtualisation Tagged With: ova, ovftool, vmware

About Myles Gray

Hi! I'm Myles, and I'm a Dev Advocate at VMware. Focused primarily on content generation, product enablement and feedback from customers and field to engineering.

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Myles Gray

Hi! I'm Myles, and I'm a Dev Advocate at VMware. Focused primarily on content generation, product enablement and feedback from customers and field to engineering. Read More…

Categories

Tags

active directory authentication CBT cisco datastore dell design esxi fortigate iscsi jumbo frame kubernetes lab linux load-balancing lun md3000i mtu networking NginX nic nsx openSUSE osx pxe readynas san sdelete serial teaming ubuntu vcenter vcloud director vcsa vexpert video VIRL vmdk vmfs vmware vsan vsphere vsphere 6 vsphere beta windows

Subscribe to Blog via Email

Copyright © 2021 · News Pro Theme on Genesis Framework · WordPress · Log in

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.