Revision 82cc4b8f
b/docs/collection_of_examples/imageregister.rst | ||
---|---|---|
255 | 255 |
[kamaki]: image meta set 7h1rd-1m4g3-1d --name='Changed Name' |
256 | 256 |
[kamaki]: |
257 | 257 |
|
258 |
If we, now, list the image metadata, we will see that the name is changed:
|
|
258 |
If we, now, get the image metadata, we will see that the name is changed:
|
|
259 | 259 |
|
260 | 260 |
.. code-block:: console |
261 | 261 |
|
262 |
[kamaki]: image meta list 7h1rd-1m4g3-1d
|
|
262 |
[kamaki]: image info 7h1rd-1m4g3-1d
|
|
263 | 263 |
checksum: 3cb03556ec971f...e8dd6190443b560cb7 |
264 | 264 |
container-format: bare |
265 | 265 |
created-at: 2013-06-19 08:00:22 |
... | ... | |
306 | 306 |
.. code-block:: console |
307 | 307 |
|
308 | 308 |
[kamaki]: image meta set 7h1rd-1m4g3-1d -p user=user |
309 |
[kamaki]: image meta list 7h1rd-1m4g3-1d
|
|
309 |
[kamaki]: image info 7h1rd-1m4g3-1d
|
|
310 | 310 |
... |
311 | 311 |
properties: |
312 | 312 |
OS: Linux |
... | ... | |
320 | 320 |
.. code-block:: console |
321 | 321 |
|
322 | 322 |
[kamaki]: image meta set 7h1rd-1m4g3-1d -p greet='Hi there' -p user=root |
323 |
[kamaki]: image meta list 7h1rd-1m4g3-1d
|
|
323 |
[kamaki]: image info 7h1rd-1m4g3-1d
|
|
324 | 324 |
... |
325 | 325 |
properties: |
326 | 326 |
OS: Linux |
... | ... | |
328 | 328 |
GREET: Hi there |
329 | 329 |
... |
330 | 330 |
[kamaki]: image meta delete 7h1rd-1m4g3-1d -p greet |
331 |
[kamaki]: image meta list 7h1rd-1m4g3-1d
|
|
331 |
[kamaki]: image info 7h1rd-1m4g3-1d
|
|
332 | 332 |
... |
333 | 333 |
properties: |
334 | 334 |
OS: Linux |
b/docs/commands.rst | ||
---|---|---|
69 | 69 |
.. code-block:: text |
70 | 70 |
|
71 | 71 |
list : List images accessible by user |
72 |
info : Get image metadata |
|
72 | 73 |
meta : Manage image metadata |
73 |
list : Get image metadata |
|
74 | 74 |
set : Add / update metadata and properties for an image |
75 | 75 |
delete : Remove/empty image metadata and/or custom properties |
76 | 76 |
register : (Re)Register an image |
b/docs/man/kamaki.rst | ||
---|---|---|
153 | 153 |
************** |
154 | 154 |
|
155 | 155 |
* list List images accessible by user |
156 |
* info Get image metadata |
|
156 | 157 |
* meta Manage image metadata |
157 |
* list Get image metadata |
|
158 | 158 |
* set Add / update metadata and properties for an image |
159 | 159 |
* delete Remove/empty image metadata and/or custom properties |
160 | 160 |
* register (Re)Register an image |
b/docs/setup.rst | ||
---|---|---|
492 | 492 |
|
493 | 493 |
.. code-block:: console |
494 | 494 |
|
495 |
$ kamaki image meta list <img id> -j > img.details
|
|
495 |
$ kamaki image info <img id> -j > img.details
|
|
496 | 496 |
|
497 | 497 |
* livetest.image_id = <A valid image id used for testing> |
498 | 498 |
* livetest.image_local_path = <The local path of the testing image> |
b/kamaki/cli/commands/image.py | ||
---|---|---|
283 | 283 |
|
284 | 284 |
|
285 | 285 |
@command(image_cmds) |
286 |
class image_meta_list(_init_image, _optional_json):
|
|
286 |
class image_info(_init_image, _optional_json):
|
|
287 | 287 |
"""Get image metadata |
288 | 288 |
Image metadata include: |
289 | 289 |
- image file information (location, size, etc.) |
Also available in: Unified diff