849f32ee12
This adds the setting of DOCKER_HOST into the kuryr_rc file, and moves the sourcing of said file into .bash_profile upon user login. With this change, you can now login to the Vagrant VM and run docker commands as the vagrant user. Change-Id: If9b27b63b1dd017471714e18e70c2bf2138e65db Signed-off-by: Kyle Mestery <mestery@mestery.com>
11 lines
224 B
Bash
Executable File
11 lines
224 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export OS_USER=vagrant
|
|
export OS_HOST_IP=172.68.5.10
|
|
|
|
# run script
|
|
bash /vagrant/devstack.sh "$1"
|
|
|
|
#set environment variables for kuryr
|
|
su "$OS_USER" -c "echo 'source /vagrant/config/kuryr_rc' >> ~/.bash_profile"
|