Revision 023d5ada docs/examplesdir/imageregister.rst

b/docs/examplesdir/imageregister.rst
303 303

  
304 304
We can use the same idea to change the values of other metadata like disk
305 305
format, container format or status. On the other hand, we cannot modify the
306
id, owner, location, checksum and dates. e.g., to publish and unpublish:
306
id, owner, location, checksum and dates. e.g., to make an image public or
307
private:
307 308

  
308 309
.. code-block:: console
309 310

  
310
    kamaki image modify 7h1rd-1m4g3-1d --publish --name='Debian Base Gama'
311
    kamaki image modify 7h1rd-1m4g3-1d --unpublish
311
    kamaki image modify 7h1rd-1m4g3-1d --public --name='Debian Base Gama'
312
    kamaki image modify 7h1rd-1m4g3-1d --private
312 313

  
313 314
The first call publishes the image (set is-public to True) and also restores
314 315
the name to "Debian Base Gama". The second one unpublishes the image (set

Also available in: Unified diff