Skip to content

Instantly share code, notes, and snippets.

@winggundamth
Last active September 5, 2021 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save winggundamth/7fe69a99ffcd1dfd14471101497b1407 to your computer and use it in GitHub Desktop.
Save winggundamth/7fe69a99ffcd1dfd14471101497b1407 to your computer and use it in GitHub Desktop.
Download Cirros QCOW2 image and convert to raw for Ceph then upload image to OpenStack
source openrc
wget http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
qemu-img convert -f qcow2 -O raw cirros-0.3.4-x86_64-disk.img cirros-0.3.4-x86_64-disk.raw
openstack image create --public --protected --disk-format raw --file cirros-0.3.4-x86_64-disk.raw cirros-0.3.4-x86_64
@academiaonline
Copy link

Should it not be like this?

openstack image create --public --protected --disk-format raw --file cirros-0.3.4-x86_64-disk.raw cirros-0.3.4-x86_64

@winggundamth
Copy link
Author

winggundamth commented Jul 22, 2021

Should it not be like this?

openstack image create --public --protected --disk-format raw --file cirros-0.3.4-x86_64-disk.raw cirros-0.3.4-x86_64

Thank for correcting me

@academiaonline
Copy link

You are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment