aboutsummaryrefslogtreecommitdiffstats
path: root/extras/vagrant/clearinterfaces.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extras/vagrant/clearinterfaces.sh')
-rwxr-xr-xextras/vagrant/clearinterfaces.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/vagrant/clearinterfaces.sh b/extras/vagrant/clearinterfaces.sh
index 78f6705ca32..31a63098e87 100755
--- 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