Name
virt-image
Synopsis
virt-image [options
]xmlfile
Create a guest machine from the image descriptor in xmlfile. Attributes for the new guest are taken from the descriptor file, although some missing information can be provided on the command line. Command-line options supersede information in the image descriptor file.
Options
- --boot=n
If image has multiple boot descriptors, use descriptor n. The first descriptor is descriptor 0. When omitted, the one that best fits the current hypervisor is chosen.
- --check-cpu
Warn if the number of virtual CPUs for the guest exceeds the number of physical CPUs in the host system.
- --connect=uri
The hypervisor connection uri.
- -d, --debug
Print debugging information to standard output.
- -h, --help
Print information on the command and options, then exit.
- -k map, --keymap=map
Set the map to use for the graphical console. By default, an English keymap is used.
- -m address, --mac=address
The hardware MAC address for the network interface on the copied system. If none is specified or the address is given as RANDOM, assign a random address.
- -n name, --name=name
The domain name for the new guest.
- --noacpi
Disable Advanced Configuration and Power Interface (ACPI).
- --noapic
Disable Advanced Programmable Interrupt Controller (APIC).
- --nographics
Do not set up graphic support.
- -r size, --ram=size
Allocate size in megabytes of memory for guest.
- --sdl
Use Simple DirectMedia Layer for graphic access.
- -u uuid, --uuid=uuid
The uuid for the new guest system. This is a 32-digit hexa-decimal number. ...
Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.