diff --git a/build_lxc.sh b/build_lxc.sh index 54ee375..c0e33d6 100755 --- a/build_lxc.sh +++ b/build_lxc.sh @@ -123,7 +123,7 @@ sleep 1 # Install and run stack.sh apt-get update apt-get -y --force-yes install git-core vim-nox sudo -if [ ! -d "~/nfs-stack" ] +if [ ! -d "~/nfs-stack" ]; then su -c "git clone git://github.com/cloudbuilders/nfs-stack.git ~/nfs-stack" stack fi su -c "cd ~/nfs-stack && $STACKSH_PARAMS ./stack.sh" stack