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