summaryrefslogtreecommitdiffstats
path: root/build-root/vagrant/bootstrap.centos7.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/vagrant/bootstrap.centos7.sh')
-rw-r--r--build-root/vagrant/bootstrap.centos7.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-root/vagrant/bootstrap.centos7.sh b/build-root/vagrant/bootstrap.centos7.sh
index 1d811e45599..f55e68a242d 100644
--- a/build-root/vagrant/bootstrap.centos7.sh
+++ b/build-root/vagrant/bootstrap.centos7.sh
@@ -28,7 +28,8 @@ cd ~vagrant/
sudo -u vagrant mkdir git
cd git/
-# You will need to alter this line to reflect reality.
+# Check if git exists and remove it before attempting clone, else clone ineffective when "reload --provision"
+[ -d vpp ] && rm -rf vpp
sudo -H -u vagrant git clone /vpp
cd vpp