
virt-install
Command-Line Tools
A-3
virt-install
The virt-install command-line tool creates paravirtualized guests and hardware
virtualized guests. virt-install can be used as an interactive shell, or all parameters can
be given at the same time. Enter multiple parameters to the virt-install command-line
tool in the format:
virt-install [
option
...]
This section contains a brief explanation of some of the more common virt-install
options. For full documentation, use the
virt-install -h
command.
Chapter 4, "Creating a Guest Virtual Machine"
discusses using the virt-install tool.
Options
[-h | --help]
Displays the virt-install command parameters and their purpose.
# virt-install -h
[-n
name
| --name=
name
]
Sets the name of the guest instance.
# virt-install -nMyGuest
[-r
RAM
| --ram=
RAM
]
Sets the memory to allocate for a guest instance in Megabytes.
# virt-install --ram=256
[-u
UUID
| --uuid=
UUID
]
Sets the UUID (Universally Unique Identifier) for the guest. If none is given, a random
UUID is generated.
# virt-install -u
[--vcpus=
number
]
Sets the number of virtual CPUs to configure for the guest.
# virt-install --vcpus=2
[-f
diskfile
| --file=
diskfile
]
Sets the file to use as the disk image.
# virt-install --file=/home/myhome/myimage
[-s
filesize
| --file-size=
filesize
]
Sets the size of the disk image (if it does not exist) in Gigabytes.
# virt-install -s2
[-nonsparse]
Do not use sparse files for disks. This option may be significantly slower when
creating guests.
[-m
value
| --mac=
value
]
Sets the fixed MAC address for the guest; if none or RANDOM is given, a random
address is used.
# virt-install --mac=RANDOM
Содержание VM
Страница 1: ...Oracle VM Server User s Guide Release 2 1 E10898 04 June 2009 ...
Страница 10: ...x ...
Страница 16: ...Oracle VM 1 4 Oracle VM Server User s Guide ...
Страница 24: ...Monitoring Oracle VM Agent 3 4 Oracle VM Server User s Guide ...
Страница 40: ...Installing Paravirtual Drivers 4 16 Oracle VM Server User s Guide ...
Страница 44: ...Using the xm Command Line Interface 5 4 Oracle VM Server User s Guide ...
Страница 50: ...Migrating a Domain 6 6 Oracle VM Server User s Guide ...
Страница 54: ...Removing a Repository 7 4 Oracle VM Server User s Guide ...
Страница 68: ...Enabling HA 9 8 Oracle VM Server User s Guide ...
Страница 88: ...Oracle VM Server Configuration File B 6 Oracle VM Server User s Guide ...
Страница 96: ...Oracle VM Agent Deployment D 4 Oracle VM Server User s Guide ...
Страница 104: ...Attaching to a Console with the Grub Boot Loader E 8 Oracle VM Server User s Guide ...
Страница 108: ...Xen Glossary 4 ...
Страница 112: ...Index 4 ...