summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2020-02-03 07:23:05 -0500
committerCole Robinson <crobinso@redhat.com>2020-02-03 09:03:02 -0500
commit150b6ac95e617fffa1fbb91e2ff19c1fa45a1062 (patch)
treef6fff768141913ba6e1d9783dac7ca686f896d0d /man
parent9385e8689b2a9b1d941745570246cc61a4f091e7 (diff)
downloadvirt-manager-150b6ac95e617fffa1fbb91e2ff19c1fa45a1062.tar.gz
virt-install: Add --reinstall=DOMAIN option
This allows using virt-install's install logic on an existing VM Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'man')
-rw-r--r--man/virt-install.pod14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/virt-install.pod b/man/virt-install.pod
index 24a55845..12840253 100644
--- a/man/virt-install.pod
+++ b/man/virt-install.pod
@@ -594,6 +594,20 @@ options. The deprecated B<--live> option is the same as
=back
+=item B<--reinstall DOMAIN>
+
+Reinstall an existing VM. DOMAIN can be a VM name, UUID, or ID number.
+virt-install will fetch the domain XML from libvirt, apply the specified
+install config changes, boot the VM for the install process, and then
+revert to roughly the same starting XML.
+
+Only install related options are processed, all other VM configuration
+options like --name, --disk, etc. are completely ignored.
+
+If --reinstall is used with --cdrom, an existing CDROM attached to
+the VM will be used if one is available, otherwise a permanent CDROM
+device will be added.
+
=item B<--unattended> [OPTIONS]