Commit a3304905 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis

Add a note about deactivating CSRF verification

parent 06395785
......@@ -1964,6 +1964,19 @@ 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