From c625aefbd77642c0c521a2d5fda02ccd30656e01 Mon Sep 17 00:00:00 2001 From: Russell Tweed Date: Thu, 8 Mar 2018 16:19:50 +0000 Subject: [PATCH] Use different labels for user and project names Modify the Install Guide to use different labels for user, role, and project names. Change-Id: I14303ae708e47a8782d4ccc2a8c2ee076bc071b8 Closes-Bug: 1746302 --- doc/source/install/common/keystone-users.inc | 25 ++++++++++---------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/doc/source/install/common/keystone-users.inc b/doc/source/install/common/keystone-users.inc index ab258705ce..db761e632b 100644 --- a/doc/source/install/common/keystone-users.inc +++ b/doc/source/install/common/keystone-users.inc @@ -49,14 +49,15 @@ projects, users, and roles. .. end #. Regular (non-admin) tasks should use an unprivileged project and user. - As an example, this guide creates the ``demo`` project and user. + As an example, this guide creates the ``myproject`` project and ``myuser`` + user. - * Create the ``demo`` project: + * Create the ``myproject`` project: .. code-block:: console $ openstack project create --domain default \ - --description "Demo Project" demo + --description "Demo Project" myproject +-------------+----------------------------------+ | Field | Value | @@ -66,7 +67,7 @@ projects, users, and roles. | enabled | True | | id | 231ad6e7ebba47d6a1e57e1cc07ae446 | | is_domain | False | - | name | demo | + | name | myproject | | parent_id | default | +-------------+----------------------------------+ @@ -77,12 +78,12 @@ projects, users, and roles. Do not repeat this step when creating additional users for this project. - * Create the ``demo`` user: + * Create the ``myuser`` user: .. code-block:: console $ openstack user create --domain default \ - --password-prompt demo + --password-prompt myuser User Password: Repeat User Password: @@ -92,34 +93,34 @@ projects, users, and roles. | domain_id | default | | enabled | True | | id | aeda23aa78f44e859900e22c24817832 | - | name | demo | + | name | myuser | | options | {} | | password_expires_at | None | +---------------------+----------------------------------+ .. end - * Create the ``user`` role: + * Create the ``myrole`` role: .. code-block:: console - $ openstack role create user + $ openstack role create myrole +-----------+----------------------------------+ | Field | Value | +-----------+----------------------------------+ | domain_id | None | | id | 997ce8d05fc143ac97d83fdfb5998552 | - | name | user | + | name | myrole | +-----------+----------------------------------+ .. end - * Add the ``user`` role to the ``demo`` project and user: + * Add the ``myrole`` role to the ``myproject`` project and ``myuser`` user: .. code-block:: console - $ openstack role add --project demo --user demo user + $ openstack role add --project myproject --user myuser myrole .. end