HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

openstack image — OpenStack Image service, aka OpenStack Glance, allows users to upload and discover data assets meant

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandopenstackakaopenstack imagecliimageservice

Problem

How to use the openstack image command: OpenStack Image service, aka OpenStack Glance, allows users to upload and discover data assets meant to be used with other services. More information: <https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/image-v2.html>.

Solution

openstack image — OpenStack Image service, aka OpenStack Glance, allows users to upload and discover data assets meant to be used with other services. More information: <https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/image-v2.html>.

List available images:
openstack image list {{--private|--shared|--all}}


Display image details:
openstack image show --human-readable {{image_id}}


Create/upload an image:
openstack image create --file {{path/to/file}} {{--private|--shared|--all}} {{image_name}}


Delete image(s):
openstack image delete {{image_id1 image_id2 ...}}


Save an image locally:
openstack image save --file {{filename}} {{image_id}}

Code Snippets

List available images

openstack image list {{--private|--shared|--all}}

Display image details

openstack image show --human-readable {{image_id}}

Create/upload an image

openstack image create --file {{path/to/file}} {{--private|--shared|--all}} {{image_name}}

Delete image(s)

openstack image delete {{image_id1 image_id2 ...}}

Save an image locally

openstack image save --file {{filename}} {{image_id}}

Context

tldr-pages: common/openstack image

Revisions (0)

No revisions yet.