Merge "Adds an example openrc file"

This commit is contained in:
Jenkins 2015-08-01 19:29:55 +00:00 committed by Gerrit Code Review
commit 8ffa0f5333
2 changed files with 17 additions and 0 deletions

View File

@ -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
---------------

11
tools/openrc-example Normal file
View File

@ -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>