From cc94f1ee2cd5cd7e92bd941d9ca949abdef50ed1 Mon Sep 17 00:00:00 2001 From: Ryan Gibbons Date: Wed, 18 Jan 2012 10:51:01 -0700 Subject: [PATCH] making the same ifdown -> ifconfig change for debian --- lib/vagrant/guest/debian.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/guest/debian.rb b/lib/vagrant/guest/debian.rb index ca7158349..e3dbf9892 100644 --- a/lib/vagrant/guest/debian.rb +++ b/lib/vagrant/guest/debian.rb @@ -38,7 +38,7 @@ module Vagrant # each specifically, we avoid reconfiguring eth0 (the NAT interface) so # SSH never dies. interfaces.each do |interface| - vm.channel.sudo("/sbin/ifdown eth#{interface} 2> /dev/null") + vm.channel.sudo("/sbin/ifconfig eth#{interface} down 2> /dev/null") end vm.channel.sudo("cat /tmp/vagrant-network-entry >> /etc/network/interfaces")