Working with images: Difference between revisions

Jump to navigation Jump to search
no edit summary
(source)
No edit summary
Line 33: Line 33:
<!--T:10-->
<!--T:10-->
To share an image a member in the project owning the image uses the [[OpenStack Command Line Clients|OpenStack]] command below.
To share an image a member in the project owning the image uses the [[OpenStack Command Line Clients|OpenStack]] command below.
<source lang="console">
<syntaxhighlight lang="console">
[name@server]$  glance member-create <IMAGE_ID> <MEMBER_ID>
[name@server]$  glance member-create <IMAGE_ID> <MEMBER_ID>
+------------+-------------+---------+
+------------+-------------+---------+
Line 40: Line 40:
| <IMAGE_ID> | <MEMBER_ID> | pending |
| <IMAGE_ID> | <MEMBER_ID> | pending |
+------------+-------------+---------+
+------------+-------------+---------+
</source>
</syntaxhighlight>
where
where
<code><IMAGE_ID></code> is the ID of the image to be shared, and <code><MEMBER_ID></code> is the ID of the project to share it with.  
<code><IMAGE_ID></code> is the ID of the image to be shared, and <code><MEMBER_ID></code> is the ID of the project to share it with.  
Line 46: Line 46:
<!--T:11-->
<!--T:11-->
To accept the shared image a member in the second project uses the [[OpenStack_Command_Line_Clients#Separate_Command-line_interfaces|OpenStack]] command below.
To accept the shared image a member in the second project uses the [[OpenStack_Command_Line_Clients#Separate_Command-line_interfaces|OpenStack]] command below.
<source lang="console">
<syntaxhighlight lang="console">
[name@server]$  glance member-update <IMAGE_ID> <MEMBER_ID> <MEMBER_STATUS>
[name@server]$  glance member-update <IMAGE_ID> <MEMBER_ID> <MEMBER_STATUS>
+------------+-------------+----------+
+------------+-------------+----------+
Line 53: Line 53:
| <IMAGE_ID> | <MEMBER_ID> | accepted |
| <IMAGE_ID> | <MEMBER_ID> | accepted |
+------------+-------------+----------+
+------------+-------------+----------+
</source>
</syntaxhighlight>
where <code><IMAGE_ID></code> is ID of the image to update, <code><MEMBER_ID></code> is the ID of the second project, and <code><MEMBER_STATUS></code> is the new status of the image. Valid Values for status are <code>accepted</code>, <code>rejected</code>, and <code>pending</code>. The image will then be available for use and appear in the OpenStack dashboard's list of images in the second project.
where <code><IMAGE_ID></code> is ID of the image to update, <code><MEMBER_ID></code> is the ID of the second project, and <code><MEMBER_STATUS></code> is the new status of the image. Valid Values for status are <code>accepted</code>, <code>rejected</code>, and <code>pending</code>. The image will then be available for use and appear in the OpenStack dashboard's list of images in the second project.


cc_staff
147

edits

Navigation menu