简体   繁体   English

公开一个 OpenStack 镜像,供我的所有用户使用

[英]Make an OpenStack image public, available to all of my users

I have a 2 node Openstack deployment configured.我配置了一个 2 节点 Openstack 部署。 Presently I have one image installed from the Eucalyptus website.目前我从 Eucalyptus 网站安装了一张图片。 The image is set as 'private' I would like to make it 'public' so all users on the Openstack deployment can use it.该图像设置为“私有”,我想将其设为“公开”,以便 Openstack 部署中的所有用户都可以使用它。 I can't quite figure out how to make this happen.我无法弄清楚如何实现这一点。

Here is the euca-describe-image output for the ami.这是 ami 的 euca-describe-image 输出。

IMAGE ami-00000006 centos53-image-bucket/centos.5-3.x86-64.img.manifest.xml available private x86_64 machine aki-00000004 ari-00000005 instance-store IMAGE ami-00000006 centos53-image-bucket/centos.5-3.x86-64.img.manifest.xml 可用私有 x86_64 机器 aki-00000004 ari-00000005 instance-store

You can also use the glance CLI to change image properties.您还可以使用 Glance CLI 来更改图像属性。

use采用

glance image-list

to get a list of images, and them something like:获取图像列表,它们类似于:

glance image-update ########-####-####-####-############ --is-public=true

to change it's setting to public将其设置更改为公开

openstack 图像集 --public IMAGE_ID

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM