Revision 16d7b9ff docs/examplesdir/imageregister.rst
b/docs/examplesdir/imageregister.rst | ||
---|---|---|
10 | 10 |
|
11 | 11 |
<container>:<object path> |
12 | 12 |
|
13 |
e.g.: |
|
13 |
e.g.,:
|
|
14 | 14 |
|
15 | 15 |
pithos:debian_base3.diskdump |
16 | 16 |
|
... | ... | |
301 | 301 |
|
302 | 302 |
We can use the same idea to change the values of other metadata like disk |
303 | 303 |
format, container format or status. On the other hand, we cannot modify the |
304 |
id, owner, location, checksum and dates. E.g., to publish and unpublish:
|
|
304 |
id, owner, location, checksum and dates. e.g., to publish and unpublish:
|
|
305 | 305 |
|
306 | 306 |
.. code-block:: console |
307 | 307 |
|
... | ... | |
552 | 552 |
|
553 | 553 |
#!/bin/bash |
554 | 554 |
|
555 |
userid=... # e.g. s0m3-u53r-1d |
|
556 |
container=... # e.g. pithos |
|
555 |
userid=... # e.g., s0m3-u53r-1d
|
|
556 |
container=... # e.g., pithos
|
|
557 | 557 |
|
558 | 558 |
for path in images/*.diskdump; do |
559 | 559 |
location=$container:${path} |
Also available in: Unified diff