Commit 64a4d9d4 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

docs: fix line break retaining code

parent 120d8e88
......@@ -50,17 +50,19 @@ to be used. If no prefix is used, it defaults to the local backend:
image. All local images are expected to be found under a predefined image
directory (``/var/lib/snf-image`` by default). The name of the actual file
should be ``<img_id>.<img_format>``.
| For example, if we want to deploy the image file:
| ``/var/lib/snf-image/slackware.diskdump``
| Then:
| ``img_format=diskdump`` and ``img_id=file://slackware``
| For example, if we want to deploy the image file:
| ``/var/lib/snf-image/slackware.diskdump``
| We need to assign:
| ``img_format=diskdump`` and ``img_id=file://slackware``
* **Network backend**:
If the **imd_id** starts with ``http:``, ``https:``, ``ftp:`` or ``ftps:``,
snf-image will treat the **img_id** as a remote URL and will try to fetch the
image using `cURL <http://curl.haxx.se/>`_.
| For example, if we want to deploy an image from an http location:
| ``img_id=http://www.synnefo.org/path/to/image/slackware-image``
| For example, if we want to deploy an image from an http location:
| ``img_id=http://www.synnefo.org/path/to/image/slackware-image``
* **Pithos backend**:
If the **img_id** is prefixed with ``pithos://`` or ``pithosmap://`` the
......@@ -70,10 +72,11 @@ to be used. If no prefix is used, it defaults to the local backend:
(``/etc/default/snf-image`` by default). For ``pithos://`` images, in
addition to ``PITHOS_DATA``, the user needs to have set a valid value for the
``PITHOS_DB`` variable, too.
| For example, if we want to deploy using a full Pithos URI:
| ``img_id=pithos://<user-uuid>/<container>/<slackware-image>``
| or if we already know the map:
| ``img_id=pithosmap://<slackware-image-map-name>``
| For example, if we want to deploy using a full Pithos URI:
| ``img_id=pithos://<user-uuid>/<container>/<slackware-image>``
| or if we already know the map:
| ``img_id=pithosmap://<slackware-image-map-name>``
* **Null backend**:
To select the Null backend and skip the fetching and extraction step, we set
......
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