Merge pull request #4445 from igas/patch-1

website/docs: add guard for provisioning script in getting-started
This commit is contained in:
Mitchell Hashimoto 2014-09-03 09:14:39 -07:00
commit 11181af37b
1 changed files with 4 additions and 2 deletions

View File

@ -26,8 +26,10 @@ and save it as `bootstrap.sh` in the same directory as your Vagrantfile:
apt-get update apt-get update
apt-get install -y apache2 apt-get install -y apache2
if ! [ -L /var/www ]; then
rm -rf /var/www rm -rf /var/www
ln -fs /vagrant /var/www ln -fs /vagrant /var/www
fi
``` ```
Next, we configure Vagrant to run this shell script when setting up Next, we configure Vagrant to run this shell script when setting up