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
This commit is contained in:
parent
04605f8d7c
commit
feb5ca55e6
|
@ -31,18 +31,18 @@ database, service credentials, and API endpoints.
|
||||||
|
|
||||||
CREATE DATABASE {{cookiecutter.codename}};
|
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' \
|
GRANT ALL PRIVILEGES ON {{cookiecutter.codename}}.* TO '{{cookiecutter.codename}}'@'localhost' \
|
||||||
IDENTIFIED BY '{{cookiecutter.codename|upper}}_DBPASS';
|
IDENTIFIED BY '{{cookiecutter.codename|upper}}_DBPASS';
|
||||||
GRANT ALL PRIVILEGES ON {{cookiecutter.codename}}.* TO '{{cookiecutter.codename}}'@'%' \
|
GRANT ALL PRIVILEGES ON {{cookiecutter.codename}}.* TO '{{cookiecutter.codename}}'@'%' \
|
||||||
IDENTIFIED BY '{{cookiecutter.codename|upper}}_DBPASS';
|
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
|
#. Source the ``admin`` credentials to gain access to
|
||||||
admin-only CLI commands:
|
admin-only CLI commands:
|
||||||
|
|
Loading…
Reference in New Issue