Adapt openrc file to use keystone v3

Ansible adminrc file already uses v3 as default. So let's
to that in vagrant too.

See file:
ansible/roles/common/templates/admin-openrc.sh.j2

TrivialFix

Change-Id: I23b7ff81808ddc718ae1186887e9764ebc5ab6ef
This commit is contained in:
Marc Koderer 2016-01-19 14:24:55 +01:00
parent 11cdd5b8ea
commit 9531b0613b

View File

@ -117,11 +117,12 @@ EOF
# The openrc file. # The openrc file.
cat > ~vagrant/openrc <<EOF cat > ~vagrant/openrc <<EOF
export OS_AUTH_URL="http://${SUPPORT_NODE}:35357/v2.0" export OS_AUTH_URL="http://${SUPPORT_NODE}:35357/v3"
export OS_USERNAME=admin export OS_USERNAME=admin
export OS_PASSWORD=password export OS_PASSWORD=password
export OS_TENANT_NAME=admin export OS_TENANT_NAME=admin
export OS_VOLUME_API_VERSION=2 export OS_VOLUME_API_VERSION=3
export OS_USER_DOMAIN_ID=default
EOF EOF
chown vagrant: ~vagrant/openrc chown vagrant: ~vagrant/openrc