Skip to content
Snippets Groups Projects
Commit 8eb36e7c authored by Daneyon Hansen's avatar Daneyon Hansen
Browse files

Fixes Keystone openrc and sets / for scripts

Previously, the keydtone openrc file was not using the proper
auth url, whcih was broken with too many double ticks. Also
changed the auth port from public to admin since keystone user
is an admin tenant. Changed DIR for scripts to align with the
rest of the project.

Change-Id: Iadde3239227e65ecca479b16a7b7db51d3a579c8
parent 9b7a8440
No related branches found
No related tags found
No related merge requests found
...@@ -7,8 +7,8 @@ RUN yum -y install openstack-keystone \ ...@@ -7,8 +7,8 @@ RUN yum -y install openstack-keystone \
; yum clean all ; yum clean all
# Add start-up and check scripts # Add start-up and check scripts
ADD ./start.sh /opt/kolla/start.sh ADD ./start.sh /start.sh
ADD ./check.sh /opt/kolla/check.sh ADD ./check.sh /check.sh
# Run the Keystone start script # Run the Keystone start script
CMD ["/opt/kolla/start.sh"] CMD ["/start.sh"]
...@@ -106,8 +106,8 @@ crudini --set $cfg \ ...@@ -106,8 +106,8 @@ crudini --set $cfg \
# Setup the openrc auth file # Setup the openrc auth file
cat > /openrc <<EOF cat > /openrc <<EOF
export OS_AUTH_URL=http://"${KEYSTONE_PUBLIC_SERVICE_HOST}":"${KEYSTONE_PUBLIC_SERVICE_PORT}/v"${KEYSTONE_API_VERSION}" export OS_AUTH_URL=http://${KEYSTONE_ADMIN_SERVICE_HOST}:${KEYSTONE_ADMIN_SERVICE_PORT}/v${KEYSTONE_API_VERSION}
export OS_USERNAME=admin export OS_USERNAME=${KEYSTONE_USER}
export OS_PASSWORD=${KEYSTONE_ADMIN_PASSWORD} export OS_PASSWORD=${KEYSTONE_ADMIN_PASSWORD}
export OS_TENANT_NAME=${ADMIN_TENANT_NAME} export OS_TENANT_NAME=${ADMIN_TENANT_NAME}
EOF EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment