iso文件转换成qcow2

ciyunlanlu74 2017-05-03 01:53:11
装好openstack想把iso格式的文件转换成qcow2,使用下面命令能够成功并插入到数据库,但是在dashboard中创建虚拟机报错,请问下面这条命令把iso文件转换成qcow2做法对吗,我在网上找的cirros-0.3.2-x86_64-disk.img来转换成qcow2就可以创建虚拟机成功,iso转换成qcow2就不行
glance image-create --name "centos6.5" --disk-format qcow2 --container-format bare --is-public True --progress < centos_65_x86_6420140327.iso
...全文
7341 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
tgl317 2019-10-14
  • 打赏
  • 举报
回复
qemu-img convert -f iso -O qcow2 cn_win_srv_2003_r2_enterprise_with_sp2_vl_cd1_X13-46432.iso cn_win_srv_2003_r2_enterprise_with_sp2_vl_cd1_X13-46432.qcow2 qemu-img: Could not open 'cn_win_srv_2003_r2_enterprise_with_sp2_vl_cd1_X13-46432.iso': Unknown driver 'iso'报错了,没有转换成功。。
cs_vic 2017-08-24
  • 打赏
  • 举报
回复
貌似不支持ISO -> QCOW2. 有成功执行的兄弟么? Supported formats Image format Argument for -f and -O options VMDK (VMware) vmdk QCOW2 (KVM, Xen) qcow2 VHD (Hyper-V) vpc VHDX (Hyper-V) vhdx RAW raw VDI (VirtualBox) vdi
kaikai风 2017-05-07
  • 打赏
  • 举报
回复
这个学习下,
SimonYCJ 2017-05-06
  • 打赏
  • 举报
回复
@ciyunlanlu74 很简单请使用 qemu-img convert -f iso -O qcow2 image.iso image.qcow2

999

社区成员

发帖
与我相关
我的任务
社区描述
OpenStack
社区管理员
  • OpenStack社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧