Convert .iso to .qcow2

时间:2017-08-30 20:25:12

标签: openstack openstack-glance

I would like to convert windows .iso to .qcow2 format and use in openstack.

Tried using vbox: https://www.virtualbox.org/ Not sure how to add cloud-init package to the OS, configure grub (steps 11&12)

Also tried using qemu-img commands in windows using ref https://cloudbase.it/qemu-img-windows/ able to convert image to .qcow2 format but when i upload image to openstack and launch instance. It got stuck at booting.

2 个答案:

答案 0 :(得分:0)

brew/apt install qemu
qemu-img convert xxx.iso xxx.qcow2

答案 1 :(得分:-1)

I think you have to install it first before converting it, try to install it on virtualbox and then convert virtualbox image to qcow2.

Hope it will help