> Source: [sk180334](https://support.checkpoint.com/results/sk/sk180334)

# sk180334 - How to unpack and repack an OVA file

| Property | Value |
|----------|-------|
| Solution ID | sk180334 |
| Date Created | 2022-12-04 |
| Last Modified | 2026-01-04 |
| Technical Level | General |
| Products | Cloud Firewall |
| Versions | R82.10, R81.20, R82 |
| Platform | VMWare ESX |

## Solution

Extract the contents of the OVA file
------------------------------------

1. Extract the OVA with the **Tar** tool:

   ### Windows:

   Download Tar for Windows from [Tar for Windows.](https://gnuwin32.sourceforge.net/packages/gtar.htm)

   ### Linux and Mac:

   Tar is installed natively on both platforms.
2. Run the command:

   `tar -xvf cloudguard.ova`

   After extracting the contents, you see three files:

   **.OVF**: Contains a standard representation of VM metadata.

   **.VMDK**: Virtual disk file that is used to store the content of virtual hard disk drives.

   **.MF** : A manifest file that contains a checksum of the OVF and VMDK files.

   Now you can edit the OVF/VMDK files.

Update the manifest file
------------------------

After you edit the files, you have to update the manifest file with the updated checksums of the files you changed.

1. To calculate the SHA256 of a file:

   * In Windows use Powershell:

     `Get-FileHash .\cloudguard_unpacked.ovf -Algorithm SHA256`
   * In Linux terminal:

     `sha256sum ./cloudguard_unpacked.`
   * In Mac terminal:

     `shasum -a 256 ./cloudguard_unpacked.ovf`  

2. Copy the hash and past the result inside the .MF file.

   For example if you change the .OVF file, change the OVF hash:

   ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk180334/notepad++_vte4NVhrkU202211300928491.png)

Repackage the OVA file
----------------------

Repackage the OVA file with the tar tool, for example:

`tar -cvf cloudguard_updated.ova cloudguard_unpacked.ovf cloudguard_unpacked.vmdk cloudguard_unpacked.mf`

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
