Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Vagrantfile doesn't rm git/vpp and vagrant reload --provision
[vpp.git]
/
build-root
/
vagrant
/
bootstrap.ubuntu1404.sh
diff --git
a/build-root/vagrant/bootstrap.ubuntu1404.sh
b/build-root/vagrant/bootstrap.ubuntu1404.sh
index
04f341a
..
35865fa
100644
(file)
--- a/
build-root/vagrant/bootstrap.ubuntu1404.sh
+++ b/
build-root/vagrant/bootstrap.ubuntu1404.sh
@@
-48,10
+48,12
@@
start hugepages
# Setup the vpp code
cd ~vagrant/
# Setup the vpp code
cd ~vagrant/
+
sudo -u vagrant mkdir git
cd git/
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/
sudo -H -u vagrant git clone /vpp
cd vpp/