X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-root%2Fvagrant%2Fbootstrap.centos7.sh;h=f55e68a242dd8bfcc816c6ae41b72f02b03d43e9;hb=d5201c80078fdecad8e6524e430b4b255f91b6b6;hp=1d811e455999191662261f8dbf8fb748d8866e50;hpb=f5a857d52c5810d1360cff213d8c1f34ce8ef4d0;p=vpp.git 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