Debian Codegraph @

debian/doc/mkova.1

raw
1 .TH MKOVA 1 "October 2025" "open-vmdk 0.3.12" "User Commands"
2 .SH NAME
3 mkova \- Legacy way to create Open Virtual Appliance (OVA) templates with configurable hardware options
4
5 .SH SYNOPSIS
6 .B mkova
7 [\fIoptions\fR] \fIOVA_NAME\fR \fITEMPLATE_OR_HW\fR \fIVMDK_FILES...\fR
8
9 .SH DESCRIPTION
10 \fBmkova\fR is a helper script that creates Open Virtual Appliances (OVAs)
11 based on predefined OVF templates and virtual disk files (.vmdk).
12
13 By default, the OVA will be created with:
14 .IP •
15 2 CPUs
16 .IP •
17 1024 MB memory
18 .IP •
19 EFI firmware (for hardware version ≥ 11)
20
21 .TP
22 These defaults can be changed using command line options or environment variables.
23
24 .SH OPTIONS
25 .TP
26 .BR --num-cpus N
27 Number of CPUs to assign to the OVA template.
28 Default: \fB2\fR
29
30 .TP
31 .B --mem-size N
32 Memory size in MB for the OVA template.
33 Default: \fB1024\fR
34
35 .TP
36 .B --firmware {efi|bios}
37 Firmware type for the OVA template.
38 Default: \fBefi\fR
39 For hardware versions 7 and 10, only \fBbios\fR is supported.
40
41 .TP
42 .B --h N
43 Specify the hardware version to use.
44 If omitted, the latest available template is used.
45
46 .TP
47 .B --template PATH
48 Specify the path to a specific OVF template file.
49
50 .TP
51 .BR --ovf
52 Create only the unpacked OVF directory instead of a full OVA archive.
53
54 .SH ENVIRONMENT
55 The following environment variables can override defaults:
56
57 .TP
58 .B NUM_CPUS
59 Default number of CPUs.
60
61 .TP
62 .B MEM_SIZE
63 Default memory size in MB.
64
65 .TP
66 .B FIRMWARE
67 Default firmware (efi or bios).
68
69 .TP
70 Values from these variables can be defined in \fI/etc/open-vmdk.conf\fR.
71
72 .SH EXAMPLES
73 .TP
74 Create an OVA with specific hardware version and custom resources:
75 .EX
76 $ mkova --num-cpus 4 --mem-size 4096 --firmware bios --hw 20 ova_name disk1.vmdk
77 .EE
78
79 .TP
80 Create an OVA using a specific template file:
81 .EX
82 $ mkova --num-cpus 4 --mem-size 4096 --firmware bios \\
83 --template /usr/share/open-vmdk/template-hw20.ovf \\
84 ova_name disk1.vmdk
85 .EE
86
87 .TP
88 Create an unpacked OVF directory instead of a .ova archive:
89 .EX
90 $ mkova --ovf ova_name template-hw20.ovf disk1.vmdk
91 .EE
92
93 .TP
94 Create an OVA with multiple disks:
95 .EX
96 $ mkova ova_name template-hw20.ovf disk1.vmdk disk2.vmdk disk3.vmdk
97 .EE
98
99 At most 15 disks can be added per OVA.
100
101 .SH FILES
102 .TP
103 .I /etc/open-vmdk.conf
104 Optional configuration file.
105 Shell-style definitions of default parameters:
106 .EX
107 NUM_CPUS=2
108 MEM_SIZE=1024
109 FIRMWARE=efi
110 .EE
111
112 .TP
113 .I /usr/share/open-vmdk/
114 Contains OVF templates for various hardware versions:
115 .EX
116 template-hw7.ovf
117 template-hw10.ovf
118 template-hw11.ovf
119 template-hw13.ovf
120 template-hw14.ovf
121 template-hw15.ovf
122 template-hw17.ovf
123 template-hw18.ovf
124 template-hw19.ovf
125 template-hw20.ovf
126 .EE
127
128 .SH SEE ALSO
129 .B vmdk-convert (1),
130 .B ova-compose (1),
131 .B ovfenv (1)
132
133 .SH AUTHOR
134 Written by Mégane Vilain for the Debian project.
135
136 .SH COPYRIGHT
137 Copyright (C) 2025 Mégane Vilain.
138 Licensed under the Apache License, Version 2.0.
139