Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
nat: use correct data types for memory sizes
[vpp.git]
/
extras
/
vagrant
/
clearinterfaces.sh
diff --git
a/extras/vagrant/clearinterfaces.sh
b/extras/vagrant/clearinterfaces.sh
index
78f6705
..
31a6309
100755
(executable)
--- a/
extras/vagrant/clearinterfaces.sh
+++ b/
extras/vagrant/clearinterfaces.sh
@@
-12,6
+12,6
@@
chown vagrant:vagrant ~vagrant/ifconfiga
for intf in $(ls /sys/class/net) ; do
if [ -d /sys/class/net/$intf/device ] &&
[ "$(route --inet --inet6 | grep default | grep $intf)" == "" ] ; then
- ifconfig $intf down
+
sudo -E
ifconfig $intf down
fi
done