This is a draft cheat sheet. It is a work in progress and is not finished yet.
Identity (Keystone)
List all users |
openstack user list |
List Identity service catalog |
openstack catalog list |
|
|
Images (Glance)
List images you can access |
openstack image list |
Delete specified image |
openstack image delete IMAGE |
Describe a specific image |
openstack image show IMAGE |
Update image |
openstack image set IMAGE |
Upload kernel image |
openstack image create "cirros-threepart-kernel" \ --disk-format aki --container-format aki --public \ --file ~/images/cirros-0.3.5-x86_64-kernel |
Upload RAM image |
openstack image create "cirros-threepart-ramdisk" \ --disk-format ari --container-format ari --public \ --file ~/images/cirros-0.3.5-x86_64-initramfs |
Upload three-part image |
openstack image create "cirros-threepart" --disk-format ami \ --container-format ami --public \ --property kernel_id=$KID-property ramdisk_id=$RID \ --file ~/images/cirros-0.3.5-x86_64-rootfs.img |
Register raw image |
openstack image create "cirros-raw" --disk-format raw \ --container-format bare --public \ --file ~/images/cirros-0.3.5-x86_64-disk.img |
|
|
|