Create OVA from OVF

From RHS Wiki
Revision as of 11:50, 20 July 2016 by Rafahsolis (talk | contribs) (Created page with "In the copied .ovf files, change all file reference to use a relative path -<br /> <ovf:File ovf:href="file:///export/nim/appliances/<Unique Identifier>/image1.mksysb" ovf:id...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In the copied .ovf files, change all file reference to use a relative path -

<ovf:File ovf:href="file:///export/nim/appliances/<Unique Identifier>/image1.mksysb" ovf:id="vimRef1" ovf:size="<size>"/>

to:

<ovf:File ovf:href="image1.mksysb" ovf:id="vimRef1" ovf:size="<size>"/>

Now we can create our tar achive ensuring that the ovf is the first file in the archive -

tar cvf <file-name>.ova <file-name>.ovf
tar uvf <file-name>.ova <file-name>.mksysb