Linux command
vboxmanage-export 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Export a VM to an OVA file
vboxmanage export [vmname] -o [file.ova]
Export a VM with a manifest file for integrity verification
vboxmanage export [vmname] -o [file.ova] --manifest
Export multiple VMs into a single appliance
vboxmanage export [vm1] [vm2] -o [file.ova]
Export using OVF 2.0 format
vboxmanage export [vmname] -o [file.ovf] --ovf20
Export with custom product and vendor metadata
vboxmanage export [vmname] -o [file.ova] --vsys 0 --product [product_name] --vendor [vendor_name]
说明
vboxmanage export exports one or more virtual machines to the Open Virtualization Format (OVF/OVA). This creates portable appliance packages suitable for sharing, backup, or migration to other virtualization platforms. OVA is a single-file tar archive containing all appliance files; OVF produces a directory with separate descriptor, disk, and manifest files. Per-VM metadata options (product, vendor, description, etc.) require --vsys to specify which VM they apply to.
参数
- -o, --output _file_
- Output file. Use .ova for a single-file archive or .ovf for multiple files.
- --legacy09
- Export in OVF 0.9 legacy format.
- --ovf10
- Export in OVF 1.0 format (default).
- --ovf20
- Export in OVF 2.0 format.
- --manifest
- Include a manifest file with SHA digests for integrity verification.
- --options _option_,...
- Comma-separated export options: manifest, iso, nomacs, nomacsbutnat.
- --vsys _n_
- Specify virtual system number for per-VM settings (starting at 0).
- --vmname _name_
- Override the VM name in the exported appliance.
- --product _name_
- Set product name in appliance metadata.
- --producturl _url_
- Set product URL in appliance metadata.
- --vendor _name_
- Set vendor name in appliance metadata.
- --vendorurl _url_
- Set vendor URL in appliance metadata.
- --version _string_
- Set version string in appliance metadata.
- --description _text_
- Set description in appliance metadata.
- --eula _text_
- Embed end-user license agreement text.
- --eulafile _filename_
- Embed EULA from a file.
FAQ
What is the vboxmanage-export command used for?
vboxmanage export exports one or more virtual machines to the Open Virtualization Format (OVF/OVA). This creates portable appliance packages suitable for sharing, backup, or migration to other virtualization platforms. OVA is a single-file tar archive containing all appliance files; OVF produces a directory with separate descriptor, disk, and manifest files. Per-VM metadata options (product, vendor, description, etc.) require --vsys to specify which VM they apply to.
How do I run a basic vboxmanage-export example?
Run `vboxmanage export [vmname] -o [file.ova]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -o, --output _file_ do in vboxmanage-export?
Output file. Use .ova for a single-file archive or .ovf for multiple files.