diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bf880be8..c4579b2b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - Log output now goes on `stderr`, since it is utility information. - Get rid of case where a `NoMethodError` could be raised while determining VirtualBox version. [GH-658] + - Debian/Ubuntu uses `ifdown` again, instead of `ifconfig xxx down`, since + the behavior seems different/wrong. ## 0.9.1 (January 18, 2012) diff --git a/lib/vagrant/guest/debian.rb b/lib/vagrant/guest/debian.rb index e3dbf9892..ca7158349 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/ifconfig eth#{interface} down 2> /dev/null") + vm.channel.sudo("/sbin/ifdown eth#{interface} 2> /dev/null") end vm.channel.sudo("cat /tmp/vagrant-network-entry >> /etc/network/interfaces")