diff --git a/doc/common/section_glance_cli_manage_images.xml b/doc/common/section_glance_cli_manage_images.xml index 569daddbc8..3947eab0f2 100644 --- a/doc/common/section_glance_cli_manage_images.xml +++ b/doc/common/section_glance_cli_manage_images.xml @@ -80,6 +80,30 @@ | status | active | | updated_at | 2013-07-22T19:46:42 | +---------------------------------------+--------------------------------------+ + The OpenStack Image Service can store location metadata for images, which can enable direct file access for a + client. Update /etc/glance/glance.conf with: + + + + show_multiple_locations = True + + + filesystem_store_metadata_file = + filePath, where + filePath points to a JSON file + containing the mount point for OpenStack images on your system + and a unique ID. For example: + [{ + "id": "b9d69795-5951-4cb0-bb5c-29491e1e2daf", + "mountpoint": "/var/lib/glance/images/" + }] + + + + After you restart the Image Service, you can use the following syntax to view the image's location information: + $ glance --os-image-api-version=2 image-show imageID + For example: + $ glance --os-image-api-version=2 image-show 2d9bb53f-70ea-4066-a68b-67960eaae673 @@ -90,7 +114,7 @@ To upload a CentOS 6.3 image in qcow2 format and configure it for public access: $ glance image-create --name centos63-image --disk-format=qcow2 \ - --container-format=bare --is-public=True ./centos63.qcow2 + --container-format=bare --is-public=True --file=./centos63.qcow2 To update an image by name or ID: