Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
how to modify .ova file on linux/Mac using terminal....export vm (OVF 1.0) from virtualbox, then modify some tag and hash value for import vm to ESXi

extract ova files from an archive

$ tar -xvf vmName.ova

modify ovf for some invalid tag

$ vi vmName.ovf

re-calculate sha1 from vmName.ovf, then modify the hash value of

$ sha1sum vmName.ovf
$ vi

package to ova which source files from [vmName.ovf, vmName-disk1.vmdk,]

$ tar -cvf vmName-NEW.ova vmName.ovf, vmName-disk1.vmdk,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.