summaryrefslogtreecommitdiffstats
path: root/setenv
diff options
context:
space:
mode:
authoredan.binshtok <eb578m@intl.att.com>2017-11-21 13:36:53 +0200
committeredan.binshtok <eb578m@intl.att.com>2017-11-21 13:39:44 +0200
commiteb123edb162afc20da8d618df1e77d73b8236f6d (patch)
tree1adcd09b52f31c905f5c58c9f3a5b322b7b166d2 /setenv
parentf52ddcb67f75aeb6bd72fecfd4a133ae1eb56666 (diff)
Update latest change to devkit
remove bootstrap role readme updated README replaced headers in matchbox templates brand removal for default zone remove dev rsync dir due to file name Issue-ID: VVP-32 Change-Id: I8ebedd80b031da02b6daaaee390956197301ec2c Signed-off-by: edan.binshtok <eb578m@intl.att.com>
Diffstat (limited to 'setenv')
-rw-r--r--[-rwxr-xr-x]setenv13
1 files changed, 8 insertions, 5 deletions
diff --git a/setenv b/setenv
index 440ceb3..cf1273e 100755..100644
--- a/setenv
+++ b/setenv
@@ -40,8 +40,10 @@
pushd $(dirname $BASH_SOURCE[0]) > /dev/null
export DEVKIT_DIR=`pwd -P`
popd > /dev/null
-
-# Make sure we have ansible installed
+export DEVKIT_DIR=`pwd -P`
+echo $DEVKIT_DIR
+echo "DEVKIT DIR ^^"
+echo "# Make sure we have ansible installed"
REQUIREMENTS="ansible vagrant"
for req in $REQUIREMENTS
do
@@ -52,13 +54,13 @@ do
fi
done
-# Make sure we have the vvp-empty box installed
+echo "# Make sure we have the vvp-empty box installed"
if [[ -z $(vagrant box list | grep vvp-empty) ]]
then
bin/vvp-install-box
fi
-
-select ENVFILE in `find ./zones/ -name devkit_environment_*`;
+echo "# Create ENV vars"
+select ENVFILE in `find ./zones/ -name "devkit_environment_*"`;
do
source $ENVFILE
break
@@ -66,6 +68,7 @@ done
# Grab ansible requirements
echo "Installing devkit's required ansible roles"
+echo $DEVKIT_DIR
ansible-galaxy install -r ${DEVKIT_DIR}/ansible/requirements.yml
echo "Devkit zone setup complete"