.TH MKOVA 1 "October 2025" "open-vmdk 0.3.12" "User Commands" .SH NAME mkova \- Legacy way to create Open Virtual Appliance (OVA) templates with configurable hardware options .SH SYNOPSIS .B mkova [\fIoptions\fR] \fIOVA_NAME\fR \fITEMPLATE_OR_HW\fR \fIVMDK_FILES...\fR .SH DESCRIPTION \fBmkova\fR is a helper script that creates Open Virtual Appliances (OVAs) based on predefined OVF templates and virtual disk files (.vmdk). By default, the OVA will be created with: .IP • 2 CPUs .IP • 1024 MB memory .IP • EFI firmware (for hardware version ≥ 11) .TP These defaults can be changed using command line options or environment variables. .SH OPTIONS .TP .BR --num-cpus N Number of CPUs to assign to the OVA template. Default: \fB2\fR .TP .B --mem-size N Memory size in MB for the OVA template. Default: \fB1024\fR .TP .B --firmware {efi|bios} Firmware type for the OVA template. Default: \fBefi\fR For hardware versions 7 and 10, only \fBbios\fR is supported. .TP .B --h N Specify the hardware version to use. If omitted, the latest available template is used. .TP .B --template PATH Specify the path to a specific OVF template file. .TP .BR --ovf Create only the unpacked OVF directory instead of a full OVA archive. .SH ENVIRONMENT The following environment variables can override defaults: .TP .B NUM_CPUS Default number of CPUs. .TP .B MEM_SIZE Default memory size in MB. .TP .B FIRMWARE Default firmware (efi or bios). .TP Values from these variables can be defined in \fI/etc/open-vmdk.conf\fR. .SH EXAMPLES .TP Create an OVA with specific hardware version and custom resources: .EX $ mkova --num-cpus 4 --mem-size 4096 --firmware bios --hw 20 ova_name disk1.vmdk .EE .TP Create an OVA using a specific template file: .EX $ mkova --num-cpus 4 --mem-size 4096 --firmware bios \\ --template /usr/share/open-vmdk/template-hw20.ovf \\ ova_name disk1.vmdk .EE .TP Create an unpacked OVF directory instead of a .ova archive: .EX $ mkova --ovf ova_name template-hw20.ovf disk1.vmdk .EE .TP Create an OVA with multiple disks: .EX $ mkova ova_name template-hw20.ovf disk1.vmdk disk2.vmdk disk3.vmdk .EE At most 15 disks can be added per OVA. .SH FILES .TP .I /etc/open-vmdk.conf Optional configuration file. Shell-style definitions of default parameters: .EX NUM_CPUS=2 MEM_SIZE=1024 FIRMWARE=efi .EE .TP .I /usr/share/open-vmdk/ Contains OVF templates for various hardware versions: .EX template-hw7.ovf template-hw10.ovf template-hw11.ovf template-hw13.ovf template-hw14.ovf template-hw15.ovf template-hw17.ovf template-hw18.ovf template-hw19.ovf template-hw20.ovf .EE .SH SEE ALSO .B vmdk-convert (1), .B ova-compose (1), .B ovfenv (1) .SH AUTHOR Written by Mégane Vilain for the Debian project. .SH COPYRIGHT Copyright (C) 2025 Mégane Vilain. Licensed under the Apache License, Version 2.0.