Code Review
/
odp4vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f5a857d
)
Changes to Centos bootstrap to remove ~/git/vpp if it exists before attempting clone
author
Keith Burns (alagalah)
<
[email protected]
>
Sun, 31 Jan 2016 20:15:27 +0000
(21:15 +0100)
committer
Dave Wallace
<
[email protected]
>
Mon, 1 Feb 2016 03:42:12 +0000
(
03:42
+0000)
- fixes issue with vagrant reload --provision not updating clone of clone
Change-Id: I506d4cbca90b30bf787c1be7e4ad39d748ea7f5b
Signed-off-by: Keith Burns (alagalah) <
[email protected]
>
build-root/vagrant/bootstrap.centos7.sh
patch
|
blob
|
history
diff --git
a/build-root/vagrant/bootstrap.centos7.sh
b/build-root/vagrant/bootstrap.centos7.sh
index
1d811e4
..
f55e68a
100644
(file)
--- 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