update rc files

fix openstack cli issue due to wrong rc files after vagrant up

Change-Id: Ib3f279948279f035e2a910c0b19c46dd445e047d
This commit is contained in:
Guo Ruijing 2017-03-21 02:47:31 +08:00
parent be6f9b576e
commit 69207f8e2b
2 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,4 @@
export SERVICE_USER=admin export OS_USERNAME=admin
export SERVICE_PASSWORD=pass export OS_PASSWORD=pass
export SERVICE_TENANT_NAME=admin export OS_PROJECT_NAME=admin
export SERVICE_TOKEN=pass export OS_AUTH_URL=http://127.0.0.1:5000/v2.0
export IDENTITY_URL=http://127.0.0.1:5000/v2.0

View File

@ -18,4 +18,4 @@ export HOST_IP=127.0.0.1
bash /vagrant/devstack.sh "$1" bash /vagrant/devstack.sh "$1"
#set environment variables for kuryr #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"