VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxManage-unattended.xml@ 99513

Last change on this file since 99513 was 99513, checked in by vboxsync, 20 months ago

manual,VBoxManage,isomaker/viso: Require all refsect1 and refsect2 elements to have @id attributes in manpages (refentry) to make these predictable and the split up topic files easier to handle for the docs team. Also requires these @id values to start with the refentry @id + '-'. Corrected a few bogus ones. Because 'controlvm' has too many sub-commands, HELP_SCOPE_ IDs will not be generated for 'See Also' and 'Examples' sections. bugref:10302

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 12.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxManage unattended
4-->
5<!--
6 Copyright (C) 2006-2023 Oracle and/or its affiliates.
7
8 This file is part of VirtualBox base platform packages, as
9 available from https://www.virtualbox.org.
10
11 This program is free software; you can redistribute it and/or
12 modify it under the terms of the GNU General Public License
13 as published by the Free Software Foundation, in version 3 of the
14 License.
15
16 This program is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, see <https://www.gnu.org/licenses>.
23
24 SPDX-License-Identifier: GPL-3.0-only
25-->
26<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
27 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
28<!ENTITY % all.entities SYSTEM "all-entities.ent">
29%all.entities;
30]>
31<refentry id="vboxmanage-unattended" lang="en">
32 <refentryinfo>
33 <pubdate>$Date: 2023-04-21 21:59:02 +0000 (Fri, 21 Apr 2023) $</pubdate>
34 <title>VBoxManage unattended</title>
35 </refentryinfo>
36
37 <refmeta>
38 <refentrytitle>VBoxManage-unattended</refentrytitle>
39 <manvolnum>1</manvolnum>
40 </refmeta>
41
42 <refnamediv>
43 <refname>VBoxManage-unattended</refname>
44 <refpurpose>unattended guest OS installation</refpurpose>
45 <refclass>&product-name;</refclass>
46 </refnamediv>
47
48 <refsynopsisdiv>
49 <cmdsynopsis id="synopsis-vboxmanage-unattended-detect"> <!-- The 'id' is mandatory and must start with 'synopsis-'. -->
50 <command>VBoxManage unattended detect</command>
51 <arg choice="req">--iso=<replaceable>install-iso</replaceable></arg>
52 <arg>--machine-readable</arg>
53 </cmdsynopsis>
54 <cmdsynopsis id="synopsis-vboxmanage-unattended-install"> <!-- The 'id' is mandatory and must start with 'synopsis-'. -->
55 <command>VBoxManage unattended install</command>
56 <group choice="req">
57 <arg choice="plain"><replaceable>uuid</replaceable></arg>
58 <arg choice="plain"><replaceable>vmname</replaceable></arg>
59 </group>
60 <arg choice="req">--iso=<replaceable>install-iso</replaceable></arg>
61 <arg>--user=<replaceable>login</replaceable></arg>
62 <arg>--password=<replaceable>password</replaceable></arg>
63 <arg>--password-file=<replaceable>file</replaceable></arg>
64 <arg>--full-user-name=<replaceable>name</replaceable></arg>
65 <arg>--key=<replaceable>product-key</replaceable></arg>
66 <arg>--install-additions</arg>
67 <arg>--no-install-additions</arg>
68 <arg>--additions-iso=<replaceable>add-iso</replaceable></arg>
69 <arg>--install-txs</arg>
70 <arg>--no-install-txs</arg>
71 <arg>--validation-kit-iso=<replaceable>testing-iso</replaceable></arg>
72 <arg>--locale=<replaceable>ll_CC</replaceable></arg>
73 <arg>--country=<replaceable>CC</replaceable></arg>
74 <arg>--time-zone=<replaceable>tz</replaceable></arg>
75 <arg>--hostname=<replaceable>fqdn</replaceable></arg>
76 <arg>--package-selection-adjustment=<replaceable>keyword</replaceable></arg>
77 <arg>--dry-run</arg>
78 <arg>--auxiliary-base-path=<replaceable>path</replaceable></arg>
79 <arg>--image-index=<replaceable>number</replaceable></arg>
80 <arg>--script-template=<replaceable>file</replaceable></arg>
81 <arg>--post-install-template=<replaceable>file</replaceable></arg>
82 <arg>--post-install-command=<replaceable>command</replaceable></arg>
83 <arg>--extra-install-kernel-parameters=<replaceable>params</replaceable></arg>
84 <arg>--language=<replaceable>lang</replaceable></arg>
85 <arg>--start-vm=<replaceable>session-type</replaceable></arg>
86 </cmdsynopsis>
87 </refsynopsisdiv>
88
89 <refsect1 id="vboxmanage-unattended-description">
90 <title>Description</title>
91
92 <refsect2 id="vboxmanage-unattended-detect">
93 <title>unattended detect</title>
94 <remark role="help-copy-synopsis"/>
95 <para>
96 Detects the guest operating system (OS) on the specified installation ISO
97 and displays the result. This can be used as input when creating a VM for
98 the ISO to be installed in.
99 </para>
100 <variablelist>
101 <varlistentry>
102 <term><option>--iso=<replaceable>install-iso</replaceable></option></term>
103 <listitem><para>The installation ISO to run the detection on.</para></listitem>
104 </varlistentry>
105 <varlistentry>
106 <term><option>--machine-readable</option></term>
107 <listitem><para>Produce output that is simpler to parse from a script.</para></listitem>
108 </varlistentry>
109 </variablelist>
110 </refsect2>
111
112 <refsect2 id="vboxmanage-unattended-install">
113 <title>unattended install</title>
114 <remark role="help-copy-synopsis"/>
115 <para>
116 Reconfigures the specified VM for installation and optionally starts it up.
117 </para>
118 <variablelist>
119 <varlistentry>
120 <term><option><replaceable>uuid</replaceable> | <replaceable>vmname</replaceable></option></term>
121 <listitem><para>Either the UUID or the name (case sensitive) of a VM.</para></listitem>
122 </varlistentry>
123 <varlistentry>
124 <term><option>--iso=<replaceable>install-iso</replaceable></option></term>
125 <listitem><para>The installation ISO to run the detection on.</para></listitem>
126 </varlistentry>
127 <varlistentry>
128 <term><option>--user=<replaceable>login</replaceable></option></term>
129 <listitem><para>The login name. (default: vboxuser)</para></listitem>
130 </varlistentry>
131 <varlistentry>
132 <term><option>--password=<replaceable>password</replaceable></option></term>
133 <listitem>
134 <para>The login password. This is used for the user given by <option>--user</option> as well as the
135 root/administrator user. (default: changeme)</para></listitem>
136 </varlistentry>
137 <varlistentry>
138 <term><option>--password-file=<replaceable>file</replaceable></option></term>
139 <listitem>
140 <para>Alternative to <option>--password</option> for providing the password. Special filename
141 <computeroutput>stdin</computeroutput> can be used to read the password from standard input.</para></listitem>
142 </varlistentry>
143 <varlistentry>
144 <term><option>--full-user-name=<replaceable>name</replaceable></option></term>
145 <listitem><para>The full user name. (default: --user)</para></listitem>
146 </varlistentry>
147 <varlistentry>
148 <term><option>--key=<replaceable>product-key</replaceable></option></term>
149 <listitem><para>The guest OS product key. Not all guest OSes requires this.</para></listitem>
150 </varlistentry>
151 <varlistentry>
152 <term><option>--install-additions</option>, <option>--no-install-additions</option></term>
153 <listitem><para>Whether to install the VirtualBox guest additions. (default: --no-install-addations)</para></listitem>
154 </varlistentry>
155 <varlistentry>
156 <term><option>--additions-iso=<replaceable>add-iso</replaceable></option></term>
157 <listitem>
158 <para>Path to the VirtualBox guest additions ISO. (default: installed/downloaded GAs)</para></listitem>
159 </varlistentry>
160 <varlistentry>
161 <term><option>--install-txs</option>, <option>--no-install-txs</option></term>
162 <listitem>
163 <para>Whether to install the test execution service (TXS) from the VirtualBox ValidationKit.
164 This is useful when preparing VMs for testing or similar. (default: --no-install-txs)</para></listitem>
165 </varlistentry>
166 <varlistentry>
167 <term><option>--validation-kit-iso=<replaceable>testing-iso</replaceable></option></term>
168 <listitem>
169 <para>Path to the VirtualBox ValidationKit ISO. This is required if <option>--install-txs</option>
170 is specified. </para></listitem>
171 </varlistentry>
172 <varlistentry>
173 <term><option>--locale=<replaceable>ll_CC</replaceable></option></term>
174 <listitem>
175 <para>The base locale specification for the guest, like en_US, de_CH, or nn_NO. (default: host or en_US)</para></listitem>
176 </varlistentry>
177 <varlistentry>
178 <term><option>--country=<replaceable>CC</replaceable></option></term>
179 <listitem><para>The two letter country code if it differs from the specified by <option>--location</option>.</para></listitem>
180 </varlistentry>
181 <varlistentry>
182 <term><option>--time-zone=<replaceable>tz</replaceable></option></term>
183 <listitem><para>The time zone to set up the guest OS with. (default: host time zone or UTC)</para></listitem>
184 </varlistentry>
185 <varlistentry>
186 <term><option>--hostname=<replaceable>fqdn</replaceable></option></term>
187 <listitem>
188 <para>The fully qualified domain name of the guest machine.
189 (default: <replaceable>vmname</replaceable>.myguest.virtualbox.org)</para></listitem>
190 </varlistentry>
191 <varlistentry>
192 <term><option>--package-selection-adjustment=<replaceable>keyword</replaceable></option></term>
193 <listitem>
194 <para>Adjustments to the guest OS packages/components selection. This can be specfied more than once. Currently
195 the only recognized keyword is <computeroutput>minimal</computeroutput> which triggers a minimal installation for
196 some of the guest OSes.</para></listitem>
197 </varlistentry>
198 <varlistentry>
199 <term><option>--dry-run</option></term>
200 <listitem><para>Do not create any files or make any changes to the VM configuration.</para></listitem>
201 </varlistentry>
202 <varlistentry>
203 <term><option>--start-vm=<replaceable>session-type</replaceable></option></term>
204 <listitem>
205 <para>Start the VM using the front end given by <replaceable>session-type</replaceable>. This is the same as
206 the <option>--type</option> option for the <computeroutput>startvm</computeroutput> command, but we have add
207 <computeroutput>none</computeroutput> for indicating that the VM should not be started.
208 (default: <computeroutput>none</computeroutput>)</para></listitem>
209 </varlistentry>
210 </variablelist>
211
212 <para>Advanced options:</para>
213 <variablelist>
214 <varlistentry>
215 <term><option>--auxiliary-base-path=<replaceable>path</replaceable></option></term>
216 <listitem>
217 <para>The path prefix to the media related files generated for the installation.
218 (default: <replaceable>vm-config-dir</replaceable>/Unattended-<replaceable>vm-uuid</replaceable>-)</para></listitem>
219 </varlistentry>
220 <varlistentry>
221 <term><option>--image-index=<replaceable>number</replaceable></option></term>
222 <listitem><para>Windows installation image index. (default: 1)</para></listitem>
223 </varlistentry>
224 <varlistentry>
225 <term><option>--script-template=<replaceable>file</replaceable></option></term>
226 <listitem><para>The unattended installation script template. (default: IMachine::OSTypeId dependent)</para></listitem>
227 </varlistentry>
228 <varlistentry>
229 <term><option>--post-install-template=<replaceable>file</replaceable></option></term>
230 <listitem><para>The post installation script template. (default: IMachine::OSTypeId dependent)</para></listitem>
231 </varlistentry>
232 <varlistentry>
233 <term><option>--post-install-command=<replaceable>command</replaceable></option></term>
234 <listitem>
235 <para>A single command to run after the installation is completed. The exact format and exactly
236 when this is run is guest OS installer dependent.</para></listitem>
237 </varlistentry>
238 <varlistentry>
239 <term><option>--extra-install-kernel-parameters=<replaceable>params</replaceable></option></term>
240 <listitem>
241 <para>
242 List of extra linux kernel parameters to use during the installation. (default: IMachine::OSTypeId dependent)
243 </para></listitem>
244 </varlistentry>
245 <varlistentry>
246 <term><option>--language=<replaceable>lang</replaceable></option></term>
247 <listitem>
248 <para>
249 Specifies the UI language for a Windows installation. The <replaceable>lang</replaceable> is
250 generally on the form {ll}-{CC}. See detectedOSLanguages results from <command>VBoxManage unattended detect</command>.
251 (default: detectedOSLanguages[0])</para></listitem>
252 </varlistentry>
253
254 </variablelist>
255 </refsect2>
256
257 </refsect1>
258</refentry>
259
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette