From 69207f8e2bb817e66f590f6d6c660961807d6f9c Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Tue, 21 Mar 2017 02:47:31 +0800 Subject: [PATCH] update rc files fix openstack cli issue due to wrong rc files after vagrant up Change-Id: Ib3f279948279f035e2a910c0b19c46dd445e047d --- contrib/vagrant/config/kuryr_rc | 9 ++++----- contrib/vagrant/vagrant.sh | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/contrib/vagrant/config/kuryr_rc b/contrib/vagrant/config/kuryr_rc index c31570a4e..87ed4a4b3 100644 --- a/contrib/vagrant/config/kuryr_rc +++ b/contrib/vagrant/config/kuryr_rc @@ -1,5 +1,4 @@ -export SERVICE_USER=admin -export SERVICE_PASSWORD=pass -export SERVICE_TENANT_NAME=admin -export SERVICE_TOKEN=pass -export IDENTITY_URL=http://127.0.0.1:5000/v2.0 +export OS_USERNAME=admin +export OS_PASSWORD=pass +export OS_PROJECT_NAME=admin +export OS_AUTH_URL=http://127.0.0.1:5000/v2.0 diff --git a/contrib/vagrant/vagrant.sh b/contrib/vagrant/vagrant.sh index 43d2424d5..55790644e 100755 --- a/contrib/vagrant/vagrant.sh +++ b/contrib/vagrant/vagrant.sh @@ -18,4 +18,4 @@ export HOST_IP=127.0.0.1 bash /vagrant/devstack.sh "$1" #set environment variables for kuryr -su "$OS_USER" -c "echo 'source /$OS_USER/config/kuryr_rc' >> ~/.bash_profile" +su "$OS_USER" -c "echo 'source /vagrant/config/kuryr_rc' >> ~/.bash_profile"