hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.26k stars 4.43k forks source link

/sbin/ifup eth1 2> /dev/null #1777

Closed 84564221 closed 11 years ago

84564221 commented 11 years ago
vagrant up node1

Error

[node1] Configuring and enabling network interfaces...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

/sbin/ifup eth1 2> /dev/null

I've tried the following

vagrant ssh -c "sudo /sbin/ifup eth1 2> /dev/null"
Device eth1 does not seem to be present, delaying initialization.
hadley8899 commented 6 years ago

This may not be the fix for most but i ran into this problem today and this was the first result on google I am using a bento/ubuntu-17.10 and ran into this same issue. I cured it by doing vagrant up, SSHing into the box and install ifupdown

sudo apt-get install ifupdown

Worked perfectly straight after

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.