diff options
Diffstat (limited to 'doc/source/user')
| -rw-r--r-- | doc/source/user/cinder.rst | 8 | ||||
| -rw-r--r-- | doc/source/user/shell.rst | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/source/user/cinder.rst b/doc/source/user/cinder.rst index 50fb644..cad6611 100644 --- a/doc/source/user/cinder.rst +++ b/doc/source/user/cinder.rst @@ -24,16 +24,16 @@ Storage Service (Cinder). In order to use the CLI, you must provide your OpenStack username, password, project (historically called tenant), and auth endpoint. You can use -configuration options :option:`--os-username`, :option:`--os-password`, -:option:`--os-tenant-name` or :option:`--os-tenant-id`, and -:option:`--os-auth-url` or set corresponding environment variables:: +configuration options `--os-username`, `--os-password`, `--os-tenant-name` or +`--os-tenant-id`, and `--os-auth-url` or set corresponding environment +variables:: export OS_USERNAME=user export OS_PASSWORD=pass export OS_TENANT_NAME=myproject export OS_AUTH_URL=http://auth.example.com:5000/v2.0 -You can select an API version to use by :option:`--os-volume-api-version` +You can select an API version to use by `--os-volume-api-version` option or by setting corresponding environment variable:: export OS_VOLUME_API_VERSION=2 diff --git a/doc/source/user/shell.rst b/doc/source/user/shell.rst index 813b769..3bd2f1f 100644 --- a/doc/source/user/shell.rst +++ b/doc/source/user/shell.rst @@ -8,9 +8,9 @@ The :program:`cinder` shell utility interacts with the OpenStack Cinder API from the command line. It supports the entirety of the OpenStack Cinder API. You'll need to provide :program:`cinder` with your OpenStack username and -API key. You can do this with the :option:`--os-username`, :option:`--os-password` -and :option:`--os-tenant-name` options, but it's easier to just set them as -environment variables by setting two environment variables: +API key. You can do this with the `--os-username`, `--os-password` and +`--os-tenant-name` options, but it's easier to just set them as environment +variables by setting two environment variables: .. envvar:: OS_USERNAME or CINDER_USERNAME |
