Merge "Vagrant: Allow running the "docker" command as the vagrant user"

This commit is contained in:
Jenkins 2016-04-19 22:48:40 +00:00 committed by Gerrit Code Review
commit cbf064c6c9
2 changed files with 2 additions and 1 deletions

View File

@ -3,3 +3,4 @@ export SERVICE_PASSWORD=pass
export SERVICE_TENANT_NAME=admin export SERVICE_TENANT_NAME=admin
export SERVICE_TOKEN=pass export SERVICE_TOKEN=pass
export IDENTITY_URL=http://127.0.0.1:5000/v2.0 export IDENTITY_URL=http://127.0.0.1:5000/v2.0
export DOCKER_HOST="tcp://0.0.0.0:2375"

View File

@ -7,4 +7,4 @@ export OS_HOST_IP=172.68.5.10
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 /vagrant/config/kuryr_rc' >> ~/.bashrc" su "$OS_USER" -c "echo 'source /vagrant/config/kuryr_rc' >> ~/.bash_profile"