1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | manpage, user manual, usage: VBoxManage registervm
|
---|
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-registervm" lang="en">
|
---|
21 | <refentryinfo>
|
---|
22 | <pubdate>$Date: 2022-02-11 20:10:19 +0000 (Fri, 11 Feb 2022) $</pubdate>
|
---|
23 | <title>VBoxManage registervm</title>
|
---|
24 | </refentryinfo>
|
---|
25 |
|
---|
26 | <refmeta>
|
---|
27 | <refentrytitle>VBoxManage-registervm</refentrytitle>
|
---|
28 | <manvolnum>1</manvolnum>
|
---|
29 | </refmeta>
|
---|
30 |
|
---|
31 | <refnamediv>
|
---|
32 | <refname>VBoxManage-registervm</refname>
|
---|
33 | <refpurpose>register a virtual machine</refpurpose>
|
---|
34 | <refclass>&product-name;</refclass>
|
---|
35 | </refnamediv>
|
---|
36 |
|
---|
37 | <refsynopsisdiv>
|
---|
38 | <cmdsynopsis id="synopsis-vboxmanage-registervm">
|
---|
39 | <!-- The 'id' is mandatory and must start with 'synopsis-'. -->
|
---|
40 | <command>VBoxManage registervm</command>
|
---|
41 | <arg choice="req"><replaceable>filename</replaceable></arg>
|
---|
42 | </cmdsynopsis>
|
---|
43 | </refsynopsisdiv>
|
---|
44 |
|
---|
45 | <refsect1>
|
---|
46 | <title>Description</title>
|
---|
47 | <para>
|
---|
48 | The <command>VBoxManage registervm</command> command enables you
|
---|
49 | to create a virtual machine (VM) by importing an XML machine
|
---|
50 | configuration file into &product-name;. The VM cannot have the
|
---|
51 | same UUID as a VM that is already registered in &product-name;.
|
---|
52 | Ensure that the XML machine configuration file is in the machines
|
---|
53 | folder prior to registration.
|
---|
54 | </para>
|
---|
55 | <note>
|
---|
56 | <para>
|
---|
57 | When you use the <command>VBoxManage createvm</command> command
|
---|
58 | to create a VM, you can specify the <option>--register</option>
|
---|
59 | option to register the VM.
|
---|
60 | </para>
|
---|
61 | </note>
|
---|
62 | <variablelist>
|
---|
63 | <varlistentry>
|
---|
64 | <term><replaceable>filename</replaceable></term>
|
---|
65 | <listitem><para>
|
---|
66 | Specifies the XML machine configuration file. This file has
|
---|
67 | the <filename>.vbox</filename> file extension.
|
---|
68 | </para></listitem>
|
---|
69 | </varlistentry>
|
---|
70 | </variablelist>
|
---|
71 | </refsect1>
|
---|
72 |
|
---|
73 | <refsect1>
|
---|
74 | <title>Examples</title>
|
---|
75 | <remark role="help-scope" condition="GLOBAL" />
|
---|
76 | <para>
|
---|
77 | The following command registers a VM called
|
---|
78 | <literal>vm2</literal>. The XML machine configuration file for the
|
---|
79 | VM is located in the default machines folder.
|
---|
80 | </para>
|
---|
81 | <screen>$ VBoxManage registervm "/home/user/VirtualBox VMs/vm2/vm2.vbox"</screen>
|
---|
82 | </refsect1>
|
---|
83 |
|
---|
84 | <refsect1>
|
---|
85 | <title>See Also</title>
|
---|
86 | <para>
|
---|
87 | <xref linkend="vboxmanage-createvm"/>,
|
---|
88 | <xref linkend="vboxmanage-unregistervm" />
|
---|
89 | </para>
|
---|
90 | </refsect1>
|
---|
91 | </refentry>
|
---|