iso镜像转化为qcow2
将外部ISO镜像转为openstack可识别的镜像qcow2
1.创建磁盘
qemu-img create -f qcow2 /opt/uniontechos-server-20.qcow2 30G
2.安装系统
virt-install --name uniontechos-V20 --ram 2048 --cdrom=/opt/uniontechos-server-20-1050a-arm64.iso --disk /opt/uniontechos-server-20.qcow2,format=qcow2 --graphics vnc,listen=0.0.0.0 --noautoconsole --os-type=linux --check all=off --network bridge=br-flat
3.查询vnc端口
virsh vncdisplay uniontechos-V20
4.viewer连接vnc端口安装系统。
进入窗口安装系统
5.将该qcow2镜像上传到glance。
发布者:admin,转转请注明出处:http://www.yc00.com/web/1754952604a5220345.html
评论列表(0条)