Browse Source

Fix indentation in prerequisites section

Indetation in prerequisites for db privileges should be at
the same level as db creattion.

See:
openstack/openstack-manuals/doc/install-guide/source/nova-controller-install.rst
openstack/openstack-manuals/doc/install-guide/source/glance-install.rst

Change-Id: I4a11426eaea2bfef044e6deedde892b021297c78
changes/40/325640/1
Spyros Trigazis 6 years ago
parent
commit
feb5ca55e6
  1. 16
      {{cookiecutter.repo_name}}/install-guide/source/install.rst

16
{{cookiecutter.repo_name}}/install-guide/source/install.rst

@ -31,18 +31,18 @@ database, service credentials, and API endpoints.
CREATE DATABASE {{cookiecutter.codename}};
* Grant proper access to the ``{{cookiecutter.codename}}`` database:
* Grant proper access to the ``{{cookiecutter.codename}}`` database:
.. code-block:: console
.. code-block:: console
GRANT ALL PRIVILEGES ON {{cookiecutter.codename}}.* TO '{{cookiecutter.codename}}'@'localhost' \
IDENTIFIED BY '{{cookiecutter.codename|upper}}_DBPASS';
GRANT ALL PRIVILEGES ON {{cookiecutter.codename}}.* TO '{{cookiecutter.codename}}'@'%' \
IDENTIFIED BY '{{cookiecutter.codename|upper}}_DBPASS';
GRANT ALL PRIVILEGES ON {{cookiecutter.codename}}.* TO '{{cookiecutter.codename}}'@'localhost' \
IDENTIFIED BY '{{cookiecutter.codename|upper}}_DBPASS';
GRANT ALL PRIVILEGES ON {{cookiecutter.codename}}.* TO '{{cookiecutter.codename}}'@'%' \
IDENTIFIED BY '{{cookiecutter.codename|upper}}_DBPASS';
Replace ``{{cookiecutter.codename|upper}}_DBPASS`` with a suitable password.
Replace ``{{cookiecutter.codename|upper}}_DBPASS`` with a suitable password.
* Exit the database access client.
* Exit the database access client.
#. Source the ``admin`` credentials to gain access to
admin-only CLI commands:

Loading…
Cancel
Save