The members-replace command revokes all existing memberships on a private image, specified with <ID>, and replaces them with a membership for one member, specified with <MEMBER>. The --can-share flag can be given to allow the member to share the image, as shown below:

$> glance members-replace 1 tenant1 --can-share --host=65.114.169.29

The command is given in plural form to make it clear that all existing memberships are affected by the command.



loading table of contents...