镜像转换
例如:qecow2–>raw
查看镜像详情:
qemu-img info /path
转换镜像:
qemu-img convert -p raw e:\99cloud-img\CentOS7.6.qcow2 e:\99cloud-img\CentOS7.6.raw
解压 zip 压缩包:
unzip
上传镜像
openstack image create --file CentOS7.7.raw --container-format bare --disk-format raw --public CentOS7.7 --property hw_qemu_guest_agent=yes --property os_admin_user=root
openstack image create --file win2k12-1203-v1-64.bit --container-format bare --disk-format raw --public Win2012 --property hw_qemu_guest_agent=yes --property os_type=windows