Skip to content

Commit ab96985

Browse files
authored
Merge pull request #95 from stackhpc/updateDocs
Update auth instructions
2 parents 71e13c1 + 12202c8 commit ab96985

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@ supported.
133133
134134
ssh-keygen -t rsa -f id_rsa -N ''
135135
136-
Create an OpenStack clouds.yaml file with your credentials to access an
136+
Create an OpenStack clouds.yml file with your credentials to access an
137137
OpenStack cloud. Alternatively, download and source an openrc file from Horizon.
138138

139139
.. code-block:: console
140140
141-
cat << EOF > clouds.yaml
141+
cat << EOF > clouds.yml
142142
---
143143
clouds:
144-
sms-lab:
144+
openstack:
145145
auth:
146146
auth_url: https://api.sms-lab.cloud:5000
147147
username: <username>
@@ -154,9 +154,8 @@ Export environment variables to use the correct cloud and provide a password (yo
154154

155155
.. code-block:: console
156156
157-
export OS_CLOUD=sms-lab
158-
read -p OS_PASSWORD -s OS_PASSWORD
159-
export OS_PASSWORD
157+
export OS_CLOUD=openstack
158+
export OS_CLOUD_CONFIG_FILE=<path>/<to>/clouds.yml
160159
161160
Or you can source the provided `init.sh` script which shall initialise terraform and export two variables.
162161
`OS_CLOUD` is a variable which is used by Terraform and must match an entry within `clouds.yml` (Not needed if you have sourced the openrc file).
@@ -182,7 +181,7 @@ Or you can source the provided `init.sh` script which shall initialise terraform
182181
If you ever set or change modules or backend configuration for Terraform,
183182
rerun this command to reinitialize your working directory. If you forget, other
184183
commands will detect it and remind you to do so if necessary.
185-
OpenStack Cloud Name: sms-lab
184+
OpenStack Cloud Name: openstack
186185
Password:
187186
188187
You must ensure that you have `Ansible installed <https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html>`_ on your local machine.

0 commit comments

Comments
 (0)