# virt-install -help
usage: virt-install --name NAME --ram RAM STORAGE INSTALL [options]
options:
-h, --help show this help message and exit
--connect=CONNECT Connect to hypervisor with URI
General Options:
-n NAME, --name=NAME
Name of the guest instance
-r MEMORY, --ram=MEMORY
Memory to allocate for guest instance in megabytes
--arch=ARCH The CPU architecture to simulate
-u UUID, --uuid=UUID
UUID for the guest.
--vcpus=VCPUS Number of vcpus to configure for your guest
--check-cpu Check that vcpus do not exceed physical CPUs and warn
if they do.
--cpuset=CPUSET Set which physical CPUs Domain can use.
--os-type=DISTRO_TYPE
The OS type for fully virtualized guests, e.g.
'linux', 'unix', 'windows'
--os-variant=DISTRO_VARIANT
The OS variant for fully virtualized guests, e.g.
'fedora6', 'rhel5', 'solaris10', 'win2k'
--host-device=HOSTDEVS
Physical host device to attach to the domain.
Full Virtualization specific options:
--sound Use sound device emulation
--noapic Disables APIC for fully virtualized guest (overrides
value in os-type/os-variant db)
--noacpi Disables ACPI for fully virtualized guest (overrides
value in os-type/os-variant db)
Virtualization Type Options:
-v, --hvm This guest should be a fully virtualized guest
-p, --paravirt This guest should be a paravirtualized guest
--accelerate Use kernel acceleration capabilities (kvm, kqemu, ...)
Installation Method Options:
-c CDROM, --cdrom=CDROM
CD-ROM installation media
-l LOCATION, --location=LOCATION
Installation source (eg, nfs:host:/path,
http://host/path,
ftp://host/path)
--pxe Boot from the network using the PXE protocol
--import Build guest around an existing disk image
--livecd Treat the CD-ROM media as a Live CD
-x EXTRA, --extra-args=EXTRA
Additional arguments to pass to the kernel booted from
--location
Storage Configuration:
--disk=DISKOPTS Specify storage to use as a disk with various options.
-f FILE_PATH, --file=FILE_PATH
File to use as the disk image
-s DISKSIZE, --file-size=DISKSIZE
Size of the disk image (if it doesn't exist) in
gigabytes
--nonsparse Don't use sparse files for disks. Note that this will
be significantly slower for guest creation
--nodisks Don't set up any disks for the guest.
Networking Configuration:
-b BRIDGE, --bridge=BRIDGE
Bridge to connect guest NIC to; if none given, will
try to determine the default
-w NETWORK, --network=NETWORK
Connect the guest to a virtual network, forwarding to
the physical network with NAT
-m MAC, --mac=MAC Fixed MAC address for the guest; if none or RANDOM is
given a random address will be used
--nonetworks Don't create network interfaces for the guest.
Graphics Configuration:
--vnc Use VNC for graphics support
--vncport=VNCPORT Port to use for VNC
--sdl Use SDL for graphics support
--nographics Don't set up a graphical console for the guest.
--noautoconsole Don't automatically try to connect to the guest
console
-k KEYMAP, --keymap=KEYMAP
set up keymap for a graphical console
Miscellaneous Options:
-d, --debug Print debugging information
--noreboot Disables the automatic rebooting when the installation
is complete.
--wait=WAIT Time to wait (in minutes)
--force Forces 'yes' for any applicable prompts, terminates
for all others
--prompt Request user input for ambiguous situations or
required options.