VirtualBox

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

Last change on this file since 94209 was 93803, checked in by vboxsync, 3 years ago

doc/manual: Clean up the entity inclusion into all manpages, eliminating current and avoiding future warnings about unknown entity product-name. Minor further cleanups.

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