Commit 1955466f authored by Stavros Sachtouris's avatar Stavros Sachtouris Committed by Christos Stavrakakis
Browse files

Update admin guide to comply with kamaki v0.12+

parent 999762f1
......@@ -1660,10 +1660,8 @@ To change a setting use ``kamaki config set``:
.. code-block:: console
$ kamaki config set image.url https://cyclades.example.com/image
$ kamaki config set file.url https://pithos.example.com/v1
$ kamaki config set user.url https://accounts.example.com
$ kamaki config set token ...
$ kamaki config set cloud.default.url https://example.com/identity/v2.0
$ kamaki config set cloud.default.token ...
To test that everything works, try authenticating the current account with
kamaki:
......@@ -1682,27 +1680,27 @@ container exists, by listing all containers in your account:
.. code-block:: console
$ kamaki file list
$ kamaki file list /images
If the container ``images`` does not exist, create it:
.. code-block:: console
$ kamaki file create images
$ kamaki container create images
You are now ready to upload an image to container ``images``. You can upload it
with a Pithos client, or use kamaki directly:
.. code-block:: console
$ kamaki file upload ubuntu.iso images
$ kamaki file upload ubuntu.iso /images
You can use any Pithos client to verify that the image was uploaded correctly,
or you can list the contents of the container with kamaki:
.. code-block:: console
$ kamaki file list images
$ kamaki file list /images
The full Pithos URL for the previous example will be
``pithos://u53r-un1qu3-1d/images/ubuntu.iso`` where ``u53r-un1qu3-1d`` is the
......@@ -1711,12 +1709,12 @@ unique user id (uuid).
Register Image
--------------
To register an image you will need to use the full Pithos URL. To register as
a public image the one from the previous example use:
To register an image you will need to use the full or the relative Pithos URL.
To register as a public image the one from the previous example use:
.. code-block:: console
$ kamaki image register Ubuntu pithos://u53r-un1qu3-1d/images/ubuntu.iso --public
$ kamaki image register --name=Ubuntu --location=/images/ubuntu.iso --public
The ``--public`` flag is important, if missing the registered image will not
be listed by ``kamaki image list``.
......@@ -1726,14 +1724,14 @@ options. A more complete example would be the following:
.. code-block:: console
$ kamaki image register Ubuntu pithos://u53r-un1qu3-1d/images/ubuntu.iso \
$ kamaki image register --name Ubuntu --location /images/ubuntu.iso \
--public --disk-format diskdump --property kernel=3.1.2
To verify that the image was registered successfully use:
.. code-block:: console
$ kamaki image list --name-like=ubuntu
$ kamaki image list --name-like ubuntu
Miscellaneous
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment