Skip to content

Instantly share code, notes, and snippets.

@rpromyshlennikov
Last active January 31, 2017 07:51
Show Gist options
  • Save rpromyshlennikov/76e298a27c4da31634c54306a6204e99 to your computer and use it in GitHub Desktop.
Save rpromyshlennikov/76e298a27c4da31634c54306a6204e99 to your computer and use it in GitHub Desktop.
Cirros images downloading and creation
#/bin/sh
wget http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img
wget http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
source openrc
glance image-create --name cirros386 --visibility public --disk-format qcow2 --container-format bare --progress < /root/cirros-0.3.4-i386-disk.img
glance image-create --name cirros64 --visibility public --disk-format qcow2 --container-format bare --progress < /root/cirros-0.3.4-x86_64-disk.img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment