aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>