After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 160 of 317

Glance OpenStack Image Service 150 To remove all public images from OpenStack Image Service, we can issue the following command: 1. Removing all our images from glance is achieved with: glance clear --verbose 2. You will then be asked to confirm where it will print out the images it is deleting. Making private images public When you upload an image using cloud/euca2ools commands, such as euca-upload- bundle and cloud-publish-tarball, they get entered into OpenStack Image Service and are only accessible by the user who uploaded them. This marks them as private. If an image is uploaded this way but you want to make it public, you do the following in OpenStack Image Service: 1. First, list and view the image(s) that you want to make public. In this case, we will choose our first uploaded image. glance show f4b75e07-38fa-482b-a9c5-e5dfcc977b02 This produces results somewhat similar to the following: 2. We can now convert this to a public image, available to all users of our cloud environment, with the following command: glance update f4b75e07-38fa-482b-a9c5-e5dfcc977b02 is_public=True www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook