mitchellh/vagrant — pull request #649 by rtgibbons (2012-01-18 17:57:12+00:00)
Title: ifdown exits with a non-zero during network setup

The ifdown script will exit with a non-zero status when the device in question doesn't come up properly, even though the device was properly de-activated. In CentOS this was happening due to a failed DHCP attempt.

Using `ifconfig eth1 down` instead will cleaning exit if the device has been de-activated.

You can see this be create a hostonly adapter, and setting it to DHCP, it will [fail] to properly come up. Running ifdown on the adapter will remove it, but exit with status code 1.