[root@CentOS7-GUI ~]# virt-install --help
usage: virt-install --name NAME --memory MB STORAGE INSTALL [options]
从指定安装源创建新虚拟机。
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
--connect URI 通过 libvirt URI 连接到虚拟机管理程序
通用选项:
-n NAME, --name NAME 客户机实例名称,虚拟机名称
-r --memory MEMORY 为客户机分配内存大小. 例如: --memory 1024 (in MiB)
--memory 512,maxmemory=1024
--memory 512,maxmemory=1024,hotplugmemorymax=2048,hotplugmemoryslots=2
--vcpus VCPUS 配置客户机虚拟 CPU(vcpu) 数量。例如:--vcpus 5
--vcpus 5,maxcpus=10,cpuset=1-4,6,8
--vcpus sockets=2,cores=4,threads=2
--cpu CPU CPU 模型和特性。例如:--cpu coreduo,+x2apic或 --cpu host
--metadata METADATA 配置客户机元数据。