virt-install参数说明 virt-install 安装系统和启动虚机

kevin.Zhu 发布于:2019-10-12 19:34 分类:文摘  有 19 人浏览,获得评论 0 条  

https://www.jianshu.com/p/f029c2576ea5


https://blog.csdn.net/weixin_30335353/article/details/95297705


安装系统:

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