use full path for devstack dir

This commit is contained in:
Anthony Young 2011-09-15 21:05:50 -07:00
parent e7335c26a4
commit 550ec96067

View file

@ -134,7 +134,7 @@ killall screen
sudo apt-get update sudo apt-get update
sudo apt-get -y --force-yes install git-core vim-nox sudo sudo apt-get -y --force-yes install git-core vim-nox sudo
if [ ! -d "/opt/devstack" ]; then if [ ! -d "/opt/devstack" ]; then
git clone git://github.com/cloudbuilders/devstack.git ~/devstack git clone git://github.com/cloudbuilders/devstack.git /opt/devstack
fi fi
cd /opt/devstack && $STACKSH_PARAMS ./stack.sh > /opt/run.sh.log cd /opt/devstack && $STACKSH_PARAMS ./stack.sh > /opt/run.sh.log
EOF EOF