virt-install 安装系统和启动虚机

安装系统:

virt-install -n x1 -r 4096 --vcpus 4 --disk path=/home/wangjq/x1.qcow2,size=60,format=qcow2,bus=virtio,target=vda --network bridge=br0,model=virtio --os-type linux --os-variant rhel7 --cdrom=/home/wangjq/centos7.iso

启动虚机:

virt-install -n x2 -r 4096 --vcpus 4 --disk path=/home/wangjq/x1.qcow2,size=60,format=qcow2,bus=virtio,target=vda --network bridge=br0,model=virtio --os-type linux --os-variant rhel7 --boot hd 
原文地址:https://www.cnblogs.com/wangjq19920210/p/10880616.html