Skip to Content
Linux in a Nutshell, 6th Edition
book

Linux in a Nutshell, 6th Edition

by Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
September 2009
Beginner
942 pages
85h 34m
English
O'Reilly Media, Inc.
Content preview from Linux in a Nutshell, 6th Edition

Name

virt-clone

Synopsis

virt-clone [options]

Clone a virtual machine. virt-clone copies hard drives and duplicates the virtual hardware configuration of an existing virtual machine. Elements that must be unique, such as the MAC address of a virtualized network interfaces, are updated so as to avoid conflicts with the old system. This system to be cloned must be shut off, as an active system cannot be safely cloned.

If no options are given, virt-clone will query for the needed information.

virt-clone writes debugging information to $HOME/.virtinst/virt-clone.log.

Options

--connect=uri

The hypervisor connection uri.

-d, --debug

Print debugging information to standard output.

-f path, --file=path

The path to the file, disk partition, or logical volume to use to store the new guests virtual disk. If the original system has multiple disks, this option should be run once per disk.

--force

Run without prompting. Assume a yes response to any yes/no prompt. For all other prompts, exit.

-n name, --name=name

The new domain name for the copied system.

-o domain, --original=domain

The name or UUID of the original domain to copy.

--preserve-data

Preserves any data that exists on the target of an -f option.

-m address, --mac=address

The new hardware MAC address for the network interface on the copied system.

-u uuid, --uuid=uuid

The new uuid for the copied system. This is a 32-digit hexadecimal number. If not specified, a random UUID is used.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unix in a Nutshell, 4th Edition

Unix in a Nutshell, 4th Edition

Arnold Robbins
Linux Under the Hood

Linux Under the Hood

Sander van Vugt
Linux Kernel in a Nutshell

Linux Kernel in a Nutshell

Greg Kroah-Hartman

Publisher Resources

ISBN: 9780596806088Errata Page