diff options
Diffstat (limited to 'extras/vagrant/clearinterfaces.sh')
-rwxr-xr-x | extras/vagrant/clearinterfaces.sh | 2 |
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 |