diff --git a/website/docs/source/v2/getting-started/provisioning.html.md b/website/docs/source/v2/getting-started/provisioning.html.md index 18e44772f..ad2b24150 100644 --- a/website/docs/source/v2/getting-started/provisioning.html.md +++ b/website/docs/source/v2/getting-started/provisioning.html.md @@ -26,8 +26,10 @@ and save it as `bootstrap.sh` in the same directory as your Vagrantfile: apt-get update apt-get install -y apache2 -rm -rf /var/www -ln -fs /vagrant /var/www +if ! [ -L /var/www ]; then + rm -rf /var/www + ln -fs /vagrant /var/www +fi ``` Next, we configure Vagrant to run this shell script when setting up