Skip to content

Commit 9fff87f

Browse files
committed
openrc: Group auth-related options together
Change-Id: I98f283b33c2350cc4388463571013896086b31fa Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
1 parent 608489c commit 9fff87f

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

openrc

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,11 @@ fi
3232
# Get some necessary configuration
3333
source $RC_DIR/lib/tls
3434

35-
# The OpenStack ecosystem has standardized the term **project** as the
36-
# entity that owns resources.
35+
# Minimal configuration
36+
export OS_AUTH_TYPE=password
3737
export OS_PROJECT_NAME=${OS_PROJECT_NAME:-demo}
38-
39-
# In addition to the owning entity (project), nova stores the entity performing
40-
# the action as the **user**.
4138
export OS_USERNAME=${OS_USERNAME:-demo}
42-
43-
# With Keystone you pass the keystone password instead of an api key.
4439
export OS_PASSWORD=${ADMIN_PASSWORD:-secret}
45-
46-
# Region
4740
export OS_REGION_NAME=${REGION_NAME:-RegionOne}
4841

4942
# Set the host API endpoint. This will default to HOST_IP if SERVICE_IP_VERSION
@@ -65,9 +58,6 @@ fi
6558
# Identity API version
6659
export OS_IDENTITY_API_VERSION=3
6760

68-
# Ask keystoneauth1 to use keystone
69-
export OS_AUTH_TYPE=password
70-
7161
# Authenticating against an OpenStack cloud using Keystone returns a **Token**
7262
# and **Service Catalog**. The catalog contains the endpoints for all services
7363
# the user/project has access to - including nova, glance, keystone, swift, ...

0 commit comments

Comments
 (0)