Commit ea35f1aa authored by Christos Stavrakakis's avatar Christos Stavrakakis

Move note about CSRF

parent a3304905
......@@ -604,6 +604,17 @@ node1 which is where we have installed Astakos.
If you are an advanced user and want to use the Shibboleth Authentication method,
read the relative :ref:`section <shibboleth-auth>`.
.. note:: Because Cyclades and Astakos are running on the same machine
in our example, we have to deactivate the CSRF verification. We can do so
by adding to
``/etc/synnefo/99-local.conf``:
.. code-block:: console
MIDDLEWARE_CLASSES.remove('django.middleware.csrf.CsrfViewMiddleware')
TEMPLATE_CONTEXT_PROCESSORS.remove('django.core.context_processors.csrf')
Database Initialization
-----------------------
......@@ -1964,19 +1975,6 @@ it to Plankton (so that it becomes visible to Cyclades), by running:
--property size=451 --property kernel=2.6.32 --property GUI="No GUI" \
--property sortorder=1 --property USERS=root --property OS=debian
.. note:: Because Plankton and Astakos are running on the same machine
in our example, we have to deactivate the CSRF verification for
the above command to work. We can do so by adding to
``/etc/synnefo/99-local.conf``:
.. code-block:: console
MIDDLEWARE_CLASSES.remove('django.middleware.csrf.CsrfViewMiddleware')
TEMPLATE_CONTEXT_PROCESSORS.remove('django.core.context_processors.csrf')
and then restart gunicorn.
This command registers the Pithos+ file
``pithos://user@example.com/images/debian_base-6.0-7-x86_64.diskdump`` as an
Image in Plankton. This Image will be public (``--public``), so all users will
......
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