aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-08-01 19:29:55 +0000
committerGerrit Code Review <review@openstack.org>2015-08-01 19:29:55 +0000
commit8ffa0f533324a58e74b18212006c08a4abe9cd4c (patch)
tree336a235525439cf3586e798adbfdc184d37cbed4
parent8f756ac2ce8dce5b145f6984c8df87eae874c9ee (diff)
parent7a25b6bea31f8cf375d0bd88c7e1e7f6b3d1316d (diff)
downloadkolla-8ffa0f533324a58e74b18212006c08a4abe9cd4c.tar.gz
kolla-8ffa0f533324a58e74b18212006c08a4abe9cd4c.zip
Merge "Adds an example openrc file"
-rw-r--r--docs/ansible-deployment.md6
-rw-r--r--tools/openrc-example11
2 files changed, 17 insertions, 0 deletions
diff --git a/docs/ansible-deployment.md b/docs/ansible-deployment.md
index 6e3e8c914..0363ba0c1 100644
--- a/docs/ansible-deployment.md
+++ b/docs/ansible-deployment.md
@@ -89,6 +89,12 @@ Multiple tags may be specified, and order is still determined by the playbooks.
ansible-playbook -i inventory/all-in-one -e @/etc/kolla/defaults.yml -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml site.yml --tags rabbitmq
ansible-playbook -i inventory/all-in-one -e @/etc/kolla/defaults.yml -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml site.yml --tags rabbitmq,mariadb
+Finally, you can view ./kolla/tools/openrc-example for an example of an openrc
+you can use with your environment. If you wish you may also run the following
+command to initiate your environment with an glance image and neutron networks.
+
+ cd ./kolla/tools
+ ./init-runonce
Further Reading
---------------
diff --git a/tools/openrc-example b/tools/openrc-example
new file mode 100644
index 000000000..2dda3aed3
--- /dev/null
+++ b/tools/openrc-example
@@ -0,0 +1,11 @@
+# You can customize this to match your environment by replacing the variables:
+# keystone_admin_password
+# kolla_internal_address
+# keystone_admin_port
+
+export OS_PROJECT_DOMAIN_ID=default
+export OS_USER_DOMAIN_ID=default
+export OS_PROJECT_NAME=admin
+export OS_USERNAME=admin
+export OS_PASSWORD=<keystone_admin_password>
+export OS_AUTH_URL=http://<kolla_internal_address>:<keystone_admin_port>