1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | manpage, user manual, usage: VBoxManage unattended
|
---|
4 |
|
---|
5 | Copyright (C) 2006-2017 Oracle Corporation
|
---|
6 |
|
---|
7 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | available from http://www.virtualbox.org. This file is free software;
|
---|
9 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | General Public License (GPL) as published by the Free Software
|
---|
11 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 | -->
|
---|
15 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
---|
16 | <refentry id="vboxmanage-unattended" lang="en">
|
---|
17 |
|
---|
18 | <refentryinfo>
|
---|
19 | <pubdate>$Date: 2017-07-27 17:39:18 +0000 (Thu, 27 Jul 2017) $</pubdate>
|
---|
20 | <title>VBoxManage unattended</title>
|
---|
21 | </refentryinfo>
|
---|
22 |
|
---|
23 | <refmeta>
|
---|
24 | <refentrytitle>VBoxManage-unattended</refentrytitle>
|
---|
25 | <manvolnum>1</manvolnum>
|
---|
26 | </refmeta>
|
---|
27 |
|
---|
28 | <refnamediv>
|
---|
29 | <refname>VBoxManage-unattended</refname>
|
---|
30 | <refpurpose>unattended guest OS installation</refpurpose>
|
---|
31 | <refclass>Oracle VM VirtualBox</refclass>
|
---|
32 | </refnamediv>
|
---|
33 |
|
---|
34 | <refsynopsisdiv>
|
---|
35 | <cmdsynopsis id="synopsis-vboxmanage-unattended-detect"> <!-- The 'id' is mandatory and must start with 'synopsis-'. -->
|
---|
36 | <command>VBoxManage unattended detect</command>
|
---|
37 | <arg choice="req">--iso=<replaceable>install-iso</replaceable></arg>
|
---|
38 | <arg>--machine-readable</arg>
|
---|
39 | </cmdsynopsis>
|
---|
40 | <cmdsynopsis id="synopsis-vboxmanage-unattended-install"> <!-- The 'id' is mandatory and must start with 'synopsis-'. -->
|
---|
41 | <command>VBoxManage unattended install</command>
|
---|
42 | <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
|
---|
43 | <arg choice="req">--iso=<replaceable>install-iso</replaceable></arg>
|
---|
44 | <arg>--user=<replaceable>login</replaceable></arg>
|
---|
45 | <arg>--password=<replaceable>password</replaceable></arg>
|
---|
46 | <arg>--full-user-name=<replaceable>name</replaceable></arg>
|
---|
47 | <arg>--key=<replaceable>product-key</replaceable></arg>
|
---|
48 | <arg>--install-additions</arg>
|
---|
49 | <arg>--no-install-additions</arg>
|
---|
50 | <arg>--additions-iso=<replaceable>add-iso</replaceable></arg>
|
---|
51 | <arg>--install-txs</arg>
|
---|
52 | <arg>--no-install-txs</arg>
|
---|
53 | <arg>--validation-kit-iso=<replaceable>testing-iso</replaceable></arg>
|
---|
54 | <arg>--locale=<replaceable>ll_CC</replaceable></arg>
|
---|
55 | <arg>--country=<replaceable>CC</replaceable></arg>
|
---|
56 | <arg>--time-zone=<replaceable>tz</replaceable></arg>
|
---|
57 | <arg>--hostname=<replaceable>fqdn</replaceable></arg>
|
---|
58 | <arg>--package-selection-adjustment=<replaceable>keyword</replaceable></arg>
|
---|
59 | <arg>--dry-run</arg>
|
---|
60 | <arg>--auxiliary-base-path=<replaceable>path</replaceable></arg>
|
---|
61 | <arg>--image-index=<replaceable>number</replaceable></arg>
|
---|
62 | <arg>--script-template=<replaceable>file</replaceable></arg>
|
---|
63 | <arg>--post-install-template=<replaceable>file</replaceable></arg>
|
---|
64 | <arg>--post-install-command=<replaceable>command</replaceable></arg>
|
---|
65 | <arg>--extra-install-kernel-parameters=<replaceable>params</replaceable></arg>
|
---|
66 | <arg>--session-type=<replaceable>type</replaceable></arg>
|
---|
67 | </cmdsynopsis>
|
---|
68 | </refsynopsisdiv>
|
---|
69 |
|
---|
70 | <refsect1>
|
---|
71 | <title>Description</title>
|
---|
72 |
|
---|
73 | <refsect2 id="vboxmanage-unattended-detect">
|
---|
74 | <title>unattended detect</title>
|
---|
75 | <remark role="help-copy-synopsis"/>
|
---|
76 | <para>
|
---|
77 | Detects the guest operating system (OS) on the specified installation ISO
|
---|
78 | and displays the result. This can be used as input when creating a VM for
|
---|
79 | the ISO to be installed in.
|
---|
80 | </para>
|
---|
81 | <variablelist>
|
---|
82 | <varlistentry>
|
---|
83 | <term><option>--iso=<replaceable>install-iso</replaceable></option></term>
|
---|
84 | <listitem><para>The installation ISO to run the detection on.</para></listitem>
|
---|
85 | </varlistentry>
|
---|
86 | <varlistentry>
|
---|
87 | <term><option>--machine-readable</option></term>
|
---|
88 | <listitem><para>Produce output that is simpler to parse from a script.</para></listitem>
|
---|
89 | </varlistentry>
|
---|
90 | </variablelist>
|
---|
91 | </refsect2>
|
---|
92 |
|
---|
93 | <refsect2 id="vboxmanage-unattended-install">
|
---|
94 | <title>unattended install</title>
|
---|
95 | <remark role="help-copy-synopsis"/>
|
---|
96 | <para>
|
---|
97 | Reconfigures the specified VM for installation and optionally starts it up.
|
---|
98 | </para>
|
---|
99 | <variablelist>
|
---|
100 | <varlistentry>
|
---|
101 | <term><replaceable>uuid|vmname</replaceable></term>
|
---|
102 | <listitem><para>Either the UUID or the name (case sensitive) of a VM.</para></listitem>
|
---|
103 | </varlistentry>
|
---|
104 | <varlistentry>
|
---|
105 | <term><option>--iso=<replaceable>install-iso</replaceable></option></term>
|
---|
106 | <listitem><para>The installation ISO to run the detection on.</para></listitem>
|
---|
107 | </varlistentry>
|
---|
108 | <varlistentry>
|
---|
109 | <term><option>--user=<replaceable>login</replaceable></option></term>
|
---|
110 | <listitem><para>The login name. (default: vboxuser)</para></listitem>
|
---|
111 | </varlistentry>
|
---|
112 | <varlistentry>
|
---|
113 | <term><option>--password=<replaceable>password</replaceable></option></term>
|
---|
114 | <listitem><para>The login password. (default: changeme)</para></listitem>
|
---|
115 | </varlistentry>
|
---|
116 | <varlistentry>
|
---|
117 | <term><option>--full-user-name=<replaceable>name</replaceable></option></term>
|
---|
118 | <listitem><para>The full user name. (default: --user)</para></listitem>
|
---|
119 | </varlistentry>
|
---|
120 | <varlistentry>
|
---|
121 | <term><option>--key=<replaceable>product-key</replaceable></option></term>
|
---|
122 | <listitem><para>The guest OS product key. Not all guest OSes requires this.</para></listitem>
|
---|
123 | </varlistentry>
|
---|
124 | <varlistentry>
|
---|
125 | <term><option>--install-additions</option>, <option>--no-install-additions</option></term>
|
---|
126 | <listitem><para>Whether to install the VirtualBox guest additions. (default: --no-install-addations)</para></listitem>
|
---|
127 | </varlistentry>
|
---|
128 | <varlistentry>
|
---|
129 | <term><option>--additions-iso=<replaceable>add-iso</replaceable></option></term>
|
---|
130 | <listitem>
|
---|
131 | <para>Path to the VirtualBox guest additions ISO. (default: installed/downloaded GAs)</para></listitem>
|
---|
132 | </varlistentry>
|
---|
133 | <varlistentry>
|
---|
134 | <term><option>--install-txs</option>, <option>--no-install-txs</option></term>
|
---|
135 | <listitem>
|
---|
136 | <para>Whether to install the test execution service (TXS) from the VirtualBox ValidationKit.
|
---|
137 | This is useful when preparing VMs for testing or similar. (default: --no-install-txs)</para></listitem>
|
---|
138 | </varlistentry>
|
---|
139 | <varlistentry>
|
---|
140 | <term><option>--validation-kit-iso=<replaceable>testing-iso</replaceable></option></term>
|
---|
141 | <listitem>
|
---|
142 | <para>Path to the VirtualBox ValidationKit ISO. This is required if <option>--install-txs</option>
|
---|
143 | is specified. </para></listitem>
|
---|
144 | </varlistentry>
|
---|
145 | <varlistentry>
|
---|
146 | <term><option>--locale=<replaceable>ll_CC</replaceable></option></term>
|
---|
147 | <listitem>
|
---|
148 | <para>The base locale specification for the guest, like en_US, de_CH, or nn_NO. (default: host or en_US)</para></listitem>
|
---|
149 | </varlistentry>
|
---|
150 | <varlistentry>
|
---|
151 | <term><option>--country=<replaceable>CC</replaceable></option></term>
|
---|
152 | <listitem><para>The two letter country code if it differs from the specified by <option>--location</option>.</para></listitem>
|
---|
153 | </varlistentry>
|
---|
154 | <varlistentry>
|
---|
155 | <term><option>--time-zone=<replaceable>tz</replaceable></option></term>
|
---|
156 | <listitem><para>The time zone to set up the guest OS with. (default: host time zone or UTC)</para></listitem>
|
---|
157 | </varlistentry>
|
---|
158 | <varlistentry>
|
---|
159 | <term><option>--hostname=<replaceable>fqdn</replaceable></option></term>
|
---|
160 | <listitem>
|
---|
161 | <para>The fully qualified domain name of the guest machine.
|
---|
162 | (default: <replaceable>vmname</replaceable>.myguest.virtualbox.org)</para></listitem>
|
---|
163 | </varlistentry>
|
---|
164 | <varlistentry>
|
---|
165 | <term><option>--package-selection-adjustment=<replaceable>keyword</replaceable></option></term>
|
---|
166 | <listitem>
|
---|
167 | <para>Adjustments to the guest OS packages/components selection. This can be specfied more than once. Currently
|
---|
168 | the only recognized keyword is <computeroutput>minimal</computeroutput> which triggers a minimal installation for
|
---|
169 | some of the guest OSes.</para></listitem>
|
---|
170 | </varlistentry>
|
---|
171 | <varlistentry>
|
---|
172 | <term><option>--dry-run</option></term>
|
---|
173 | <listitem><para>Do not create any files or make any changes to the VM configuration.</para></listitem>
|
---|
174 | </varlistentry>
|
---|
175 | <varlistentry>
|
---|
176 | <term><option>--session-type=<replaceable>type</replaceable></option></term>
|
---|
177 | <listitem>
|
---|
178 | <para>The type of session to start when launching the installation. This is the same as the <option>--type</option>
|
---|
179 | option for the <computeroutput>startvm</computeroutput> command, but we add <computeroutput>none</computeroutput>
|
---|
180 | for indicating that the VM should not be started. (default: <computeroutput>headless</computeroutput>)</para></listitem>
|
---|
181 | </varlistentry>
|
---|
182 | </variablelist>
|
---|
183 |
|
---|
184 | <para>Advanced options:</para>
|
---|
185 | <variablelist>
|
---|
186 | <varlistentry>
|
---|
187 | <term><option>--auxiliary-base-path=<replaceable>path</replaceable></option></term>
|
---|
188 | <listitem>
|
---|
189 | <para>The path prefix to the media related files generated for the installation.
|
---|
190 | (default: <replaceable>vm-config-dir</replaceable>/Unattended-<replaceable>vm-uuid</replaceable>-)</para></listitem>
|
---|
191 | </varlistentry>
|
---|
192 | <varlistentry>
|
---|
193 | <term><option>--image-index=<replaceable>number</replaceable></option></term>
|
---|
194 | <listitem><para>Windows installation image index. (default: 1)</para></listitem>
|
---|
195 | </varlistentry>
|
---|
196 | <varlistentry>
|
---|
197 | <term><option>--script-template=<replaceable>file</replaceable></option></term>
|
---|
198 | <listitem><para>The unattended installation script template. (default: IMachine::OSTypeId dependent)</para></listitem>
|
---|
199 | </varlistentry>
|
---|
200 | <varlistentry>
|
---|
201 | <term><option>--post-install-template=<replaceable>file</replaceable></option></term>
|
---|
202 | <listitem><para>The post installation script template. (default: IMachine::OSTypeId dependent)</para></listitem>
|
---|
203 | </varlistentry>
|
---|
204 | <varlistentry>
|
---|
205 | <term><option>--post-install-command=<replaceable>command</replaceable></option></term>
|
---|
206 | <listitem>
|
---|
207 | <para>A single command to run after the installation is completed. The exact format and exactly
|
---|
208 | when this is run is guest OS installer dependent.</para></listitem>
|
---|
209 | </varlistentry>
|
---|
210 | <varlistentry>
|
---|
211 | <term><option>--extra-install-kernel-parameters=<replaceable>params</replaceable></option></term>
|
---|
212 | <listitem>
|
---|
213 | <para>
|
---|
214 | List of extra linux kernel parameters to use during the installation. (default: IMachine::OSTypeId dependent)
|
---|
215 | </para></listitem>
|
---|
216 | </varlistentry>
|
---|
217 |
|
---|
218 | </variablelist>
|
---|
219 | </refsect2>
|
---|
220 |
|
---|
221 | </refsect1>
|
---|
222 | </refentry>
|
---|
223 |
|
---|