VirtualBox

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

Last change on this file since 68191 was 68187, checked in by vboxsync, 8 years ago

VBoxManage/unatteded: Added --password-file option to install.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 11.7 KB
Line 
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-31 08:55:16 +0000 (Mon, 31 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>--password-file=<replaceable>file</replaceable></arg>
47 <arg>--full-user-name=<replaceable>name</replaceable></arg>
48 <arg>--key=<replaceable>product-key</replaceable></arg>
49 <arg>--install-additions</arg>
50 <arg>--no-install-additions</arg>
51 <arg>--additions-iso=<replaceable>add-iso</replaceable></arg>
52 <arg>--install-txs</arg>
53 <arg>--no-install-txs</arg>
54 <arg>--validation-kit-iso=<replaceable>testing-iso</replaceable></arg>
55 <arg>--locale=<replaceable>ll_CC</replaceable></arg>
56 <arg>--country=<replaceable>CC</replaceable></arg>
57 <arg>--time-zone=<replaceable>tz</replaceable></arg>
58 <arg>--hostname=<replaceable>fqdn</replaceable></arg>
59 <arg>--package-selection-adjustment=<replaceable>keyword</replaceable></arg>
60 <arg>--dry-run</arg>
61 <arg>--auxiliary-base-path=<replaceable>path</replaceable></arg>
62 <arg>--image-index=<replaceable>number</replaceable></arg>
63 <arg>--script-template=<replaceable>file</replaceable></arg>
64 <arg>--post-install-template=<replaceable>file</replaceable></arg>
65 <arg>--post-install-command=<replaceable>command</replaceable></arg>
66 <arg>--extra-install-kernel-parameters=<replaceable>params</replaceable></arg>
67 <arg>--session-type=<replaceable>type</replaceable></arg>
68 </cmdsynopsis>
69 </refsynopsisdiv>
70
71 <refsect1>
72 <title>Description</title>
73
74 <refsect2 id="vboxmanage-unattended-detect">
75 <title>unattended detect</title>
76 <remark role="help-copy-synopsis"/>
77 <para>
78 Detects the guest operating system (OS) on the specified installation ISO
79 and displays the result. This can be used as input when creating a VM for
80 the ISO to be installed in.
81 </para>
82 <variablelist>
83 <varlistentry>
84 <term><option>--iso=<replaceable>install-iso</replaceable></option></term>
85 <listitem><para>The installation ISO to run the detection on.</para></listitem>
86 </varlistentry>
87 <varlistentry>
88 <term><option>--machine-readable</option></term>
89 <listitem><para>Produce output that is simpler to parse from a script.</para></listitem>
90 </varlistentry>
91 </variablelist>
92 </refsect2>
93
94 <refsect2 id="vboxmanage-unattended-install">
95 <title>unattended install</title>
96 <remark role="help-copy-synopsis"/>
97 <para>
98 Reconfigures the specified VM for installation and optionally starts it up.
99 </para>
100 <variablelist>
101 <varlistentry>
102 <term><replaceable>uuid|vmname</replaceable></term>
103 <listitem><para>Either the UUID or the name (case sensitive) of a VM.</para></listitem>
104 </varlistentry>
105 <varlistentry>
106 <term><option>--iso=<replaceable>install-iso</replaceable></option></term>
107 <listitem><para>The installation ISO to run the detection on.</para></listitem>
108 </varlistentry>
109 <varlistentry>
110 <term><option>--user=<replaceable>login</replaceable></option></term>
111 <listitem><para>The login name. (default: vboxuser)</para></listitem>
112 </varlistentry>
113 <varlistentry>
114 <term><option>--password=<replaceable>password</replaceable></option></term>
115 <listitem>
116 <para>The login password. This is used for the user given by <option>--user</option> as well as the
117 root/administrator user. (default: changeme)</para></listitem>
118 </varlistentry>
119 <varlistentry>
120 <term><option>--password-file=<replaceable>file</replaceable></option></term>
121 <listitem>
122 <para>Alternative to <option>--password</option> for providing the password. Special filename
123 <computeroutput>stdin</computeroutput> can be used to read the password from standard input.</para></listitem>
124 </varlistentry>
125 <varlistentry>
126 <term><option>--full-user-name=<replaceable>name</replaceable></option></term>
127 <listitem><para>The full user name. (default: --user)</para></listitem>
128 </varlistentry>
129 <varlistentry>
130 <term><option>--key=<replaceable>product-key</replaceable></option></term>
131 <listitem><para>The guest OS product key. Not all guest OSes requires this.</para></listitem>
132 </varlistentry>
133 <varlistentry>
134 <term><option>--install-additions</option>, <option>--no-install-additions</option></term>
135 <listitem><para>Whether to install the VirtualBox guest additions. (default: --no-install-addations)</para></listitem>
136 </varlistentry>
137 <varlistentry>
138 <term><option>--additions-iso=<replaceable>add-iso</replaceable></option></term>
139 <listitem>
140 <para>Path to the VirtualBox guest additions ISO. (default: installed/downloaded GAs)</para></listitem>
141 </varlistentry>
142 <varlistentry>
143 <term><option>--install-txs</option>, <option>--no-install-txs</option></term>
144 <listitem>
145 <para>Whether to install the test execution service (TXS) from the VirtualBox ValidationKit.
146 This is useful when preparing VMs for testing or similar. (default: --no-install-txs)</para></listitem>
147 </varlistentry>
148 <varlistentry>
149 <term><option>--validation-kit-iso=<replaceable>testing-iso</replaceable></option></term>
150 <listitem>
151 <para>Path to the VirtualBox ValidationKit ISO. This is required if <option>--install-txs</option>
152 is specified. </para></listitem>
153 </varlistentry>
154 <varlistentry>
155 <term><option>--locale=<replaceable>ll_CC</replaceable></option></term>
156 <listitem>
157 <para>The base locale specification for the guest, like en_US, de_CH, or nn_NO. (default: host or en_US)</para></listitem>
158 </varlistentry>
159 <varlistentry>
160 <term><option>--country=<replaceable>CC</replaceable></option></term>
161 <listitem><para>The two letter country code if it differs from the specified by <option>--location</option>.</para></listitem>
162 </varlistentry>
163 <varlistentry>
164 <term><option>--time-zone=<replaceable>tz</replaceable></option></term>
165 <listitem><para>The time zone to set up the guest OS with. (default: host time zone or UTC)</para></listitem>
166 </varlistentry>
167 <varlistentry>
168 <term><option>--hostname=<replaceable>fqdn</replaceable></option></term>
169 <listitem>
170 <para>The fully qualified domain name of the guest machine.
171 (default: <replaceable>vmname</replaceable>.myguest.virtualbox.org)</para></listitem>
172 </varlistentry>
173 <varlistentry>
174 <term><option>--package-selection-adjustment=<replaceable>keyword</replaceable></option></term>
175 <listitem>
176 <para>Adjustments to the guest OS packages/components selection. This can be specfied more than once. Currently
177 the only recognized keyword is <computeroutput>minimal</computeroutput> which triggers a minimal installation for
178 some of the guest OSes.</para></listitem>
179 </varlistentry>
180 <varlistentry>
181 <term><option>--dry-run</option></term>
182 <listitem><para>Do not create any files or make any changes to the VM configuration.</para></listitem>
183 </varlistentry>
184 <varlistentry>
185 <term><option>--session-type=<replaceable>type</replaceable></option></term>
186 <listitem>
187 <para>The type of session to start when launching the installation. This is the same as the <option>--type</option>
188 option for the <computeroutput>startvm</computeroutput> command, but we add <computeroutput>none</computeroutput>
189 for indicating that the VM should not be started. (default: <computeroutput>headless</computeroutput>)</para></listitem>
190 </varlistentry>
191 </variablelist>
192
193 <para>Advanced options:</para>
194 <variablelist>
195 <varlistentry>
196 <term><option>--auxiliary-base-path=<replaceable>path</replaceable></option></term>
197 <listitem>
198 <para>The path prefix to the media related files generated for the installation.
199 (default: <replaceable>vm-config-dir</replaceable>/Unattended-<replaceable>vm-uuid</replaceable>-)</para></listitem>
200 </varlistentry>
201 <varlistentry>
202 <term><option>--image-index=<replaceable>number</replaceable></option></term>
203 <listitem><para>Windows installation image index. (default: 1)</para></listitem>
204 </varlistentry>
205 <varlistentry>
206 <term><option>--script-template=<replaceable>file</replaceable></option></term>
207 <listitem><para>The unattended installation script template. (default: IMachine::OSTypeId dependent)</para></listitem>
208 </varlistentry>
209 <varlistentry>
210 <term><option>--post-install-template=<replaceable>file</replaceable></option></term>
211 <listitem><para>The post installation script template. (default: IMachine::OSTypeId dependent)</para></listitem>
212 </varlistentry>
213 <varlistentry>
214 <term><option>--post-install-command=<replaceable>command</replaceable></option></term>
215 <listitem>
216 <para>A single command to run after the installation is completed. The exact format and exactly
217 when this is run is guest OS installer dependent.</para></listitem>
218 </varlistentry>
219 <varlistentry>
220 <term><option>--extra-install-kernel-parameters=<replaceable>params</replaceable></option></term>
221 <listitem>
222 <para>
223 List of extra linux kernel parameters to use during the installation. (default: IMachine::OSTypeId dependent)
224 </para></listitem>
225 </varlistentry>
226
227 </variablelist>
228 </refsect2>
229
230 </refsect1>
231</refentry>
232
Note: See TracBrowser for help on using the repository browser.

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