- Converting qcow2 images to raw and uploading to glance
for i in `ls |grep -E 'qcow2|img'`
do qemu-img convert -f qcow2 -O raw $i `echo "$i"|cut -d '.' -f 1`.raw
rm $i
openstack image create `echo "$i"|cut -d '.' -f 1` --file `echo "$i"|cut -d '.' -f 1`.raw --disk-format raw --container-format bare --public
done
Sharing my experience deploying and orchestrating OpenStack and OpenShift using various tools such as Terraform, Ansible etc..
mardi 7 mai 2019
Converting qcow2 images to raw and uploading to glance
Inscription à :
Articles (Atom)
OpenShift Assisted Installer on premise deep dive
Test Assisted Installer on premise deep dive Introduction In this series of blog posts, we will demonstrate how Infra...
-
Test Assisted Installer on premise deep dive Introduction In this series of blog posts, we will demonstrate how Infra...
-
Test How to automate OCP 4.7 UPI Installation on Vsphere and assign Static IPs to Nodes Introduction In this post we...
-
Converting qcow2 images to raw and uploading to glance for i in `ls |grep -E 'qcow2|img'` do qemu-img convert -f qcow2 -O ...