Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
svm: remove chunk add function
[vpp.git]
/
extras
/
vagrant
/
run.sh
diff --git
a/extras/vagrant/run.sh
b/extras/vagrant/run.sh
index
3c779fa
..
61c9261
100755
(executable)
--- a/
extras/vagrant/run.sh
+++ b/
extras/vagrant/run.sh
@@
-12,11
+12,12
@@
fi
if [ "$OS_ID" == "centos" ] || [ "$OS_ID" == "opensuse" ]; then
# Install uio-pci-generic
if [ "$OS_ID" == "centos" ] || [ "$OS_ID" == "opensuse" ]; then
# Install uio-pci-generic
- modprobe uio_pci_generic
+
sudo -E
modprobe uio_pci_generic
fi
fi
+
echo "Starting VPP..."
echo "Starting VPP..."
-if [ "$OS_ID" == "ubuntu" ] && [
$OS_CODENAME
= "trusty" ] ; then
- start vpp
+if [ "$OS_ID" == "ubuntu" ] && [
"$OS_CODENAME" =
= "trusty" ] ; then
+ s
udo -E s
tart vpp
else
else
- service vpp start
+ s
udo -E s
ervice vpp start
fi
fi